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:
parent
6db219730e
commit
669f019379
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue