Don't delete package-lock.json

This commit is contained in:
Andy Armstrong
2021-10-19 13:42:28 +01:00
parent 0b655e298c
commit a6d8de1638

View File

@@ -74,7 +74,7 @@ else
fi fi
if [ -f 'package-lock.json' ]; then if [ -f 'package-lock.json' ]; then
git reset --hard package-lock.json || rm package-lock.json git checkout -- package-lock.json
else else
echo "No package-lock.json file." echo "No package-lock.json file."
fi fi