chore: make too many lockfiles error more explicit (#48748)

This commit is contained in:
Oliver Eyton-Williams
2022-12-13 18:43:53 +01:00
committed by GitHub
parent 209f75412d
commit c8be10ca77

View File

@@ -31,7 +31,7 @@ jobs:
run: |
if [ $(find . -name 'package-lock.json' | grep -vc -e 'node_modules') -gt 1 ]
then
echo 'Error: found too many lockfiles in the repository'
echo -e 'Error: found too many lockfiles in the repository.\nWe use npm workspaces to manage packages so all dependencies should be added to the root package-lock.json'
exit 1
fi