mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-12 19:30:30 +02:00
fix: removes code block added by mistake from dev branch
This commit is contained in:
@@ -54,10 +54,6 @@ echo "Files:"
|
||||
prettier $INPUT_PRETTIER_OPTIONS || echo "Problem running prettier with $INPUT_PRETTIER_OPTIONS"
|
||||
PRETTIER_RESULT=$?
|
||||
|
||||
# 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 package-lock.json file."
|
||||
|
||||
# To keep runtime good, just continue if something was changed
|
||||
if _git_changed; then
|
||||
if $INPUT_DRY; then
|
||||
|
||||
Reference in New Issue
Block a user