Add package name to lockfile.ts error

This commit is contained in:
ebarrios
2021-02-09 17:12:11 +01:00
parent 1f0ed728a7
commit d2971946fc
+1 -1
View File
@@ -153,7 +153,7 @@ export class Lockfile {
const acceptedVersion = versions.find(v => semver.satisfies(v, range));
if (!acceptedVersion) {
throw new Error(
`No existing version was accepted for range ${range}, searching through ${versions}`,
`No existing version was accepted for range ${range}, searching through ${versions}, for package ${name}`,
);
}