From 5e56c643886c64170505a86fa95a03744b6f6bd2 Mon Sep 17 00:00:00 2001 From: creyD Date: Fri, 19 Feb 2021 19:13:29 +0100 Subject: [PATCH] Another try at bugfixing the ignore mechanism --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 978dce1..98bcc42 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -60,8 +60,8 @@ echo "Files:" prettier $INPUT_PRETTIER_OPTIONS || echo "Problem running prettier with $INPUT_PRETTIER_OPTIONS" # Ignore node modules and other action created files -git update-index --skip-worktree package_lock.json -git update-index --skip-worktree node_modules/ +rm -r node_modules/ +git reset --hard package-lock.json || rm package-lock.json # To keep runtime good, just continue if something was changed if _git_changed; then