Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arzatskis committed May 28, 2020
1 parent 7ca93c7 commit a2bcf26
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@ esac
echo "Prettifing all files..."
echo "Files:"

files=$(git diff --name-only master)

while read -r file; do
prettier --write $file
done <<< "$(git diff --name-only master)"
done <<< "${files}"

# To keep runtime good, just continue if something was changed
if _git_changed;
Expand Down

0 comments on commit a2bcf26

Please sign in to comment.