diff --git a/entrypoint.sh b/entrypoint.sh index 89cfef2..a09812c 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -56,16 +56,6 @@ npx prettier $INPUT_PRETTIER_OPTIONS \ echo "Prettier result: $PRETTIER_RESULT" -# Removing the node_modules folder, so it doesn't get committed if it is not added in gitignore -if $INPUT_CLEAN_NODE_FOLDER; then - echo "Deleting node_modules/ folder..." - if [ -d 'node_modules' ]; then - rm -r node_modules/ - else - echo "No node_modules/ folder." - fi -fi - if [ -f 'package-lock.json' ]; then git checkout -- package-lock.json else