npmHooks.npmConfigHook: make diagnostic match prefetch-npm-deps
This updates the diagnostic message for a missing package-lock.json to match what fetchNpmDeps currently says
This commit is contained in:
@@ -28,7 +28,7 @@ npmConfigHook() {
|
||||
if ! [ -e "$srcLockfile" ]; then
|
||||
echo
|
||||
echo "ERROR: Missing package-lock.json from src. Expected to find it at: $srcLockfile"
|
||||
echo "Hint: You can use the patches attribute to add a package-lock.json manually to the build."
|
||||
echo "Hint: You can copy a vendored package-lock.json file via postPatch."
|
||||
echo
|
||||
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user