Skip to content

Commit

Permalink
Remove clean node folder
Browse files Browse the repository at this point in the history
  • Loading branch information
artufimtcev committed May 28, 2024
1 parent c395a10 commit f5da9e8
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f5da9e8

Please sign in to comment.