mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-14 12:20:30 +02:00
Fixing bug #128
This commit is contained in:
@@ -77,7 +77,7 @@ if $INPUT_CLEAN_NODE_FOLDER; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f 'package-lock.json' ]; then
|
if [ -f 'package-lock.json' ]; then
|
||||||
git checkout -- package-lock.json
|
git checkout -- package-lock.json || echo "No package-lock.json file tracked by git."
|
||||||
else
|
else
|
||||||
echo "No package-lock.json file."
|
echo "No package-lock.json file."
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user