Adjusted exception message and finalized changes

This commit is contained in:
2021-02-19 19:18:23 +01:00
parent 1f62e028b6
commit b81496839a

View File

@@ -26,7 +26,6 @@ _git_changed() {
}
(
# PROGRAM
# Changing to the directory
cd "$GITHUB_ACTION_PATH"
@@ -61,7 +60,7 @@ prettier $INPUT_PRETTIER_OPTIONS || echo "Problem running prettier with $INPUT_P
# Ignore node modules and other action created files
rm -r node_modules/ || echo "No node_modules/ folder."
git reset --hard package-lock.json || rm package-lock.json || echo "No node_modules/ folder."
git reset --hard package-lock.json || rm package-lock.json || echo "No package-lock.json file."
# To keep runtime good, just continue if something was changed
if _git_changed; then