Skip to content

Commit

Permalink
Publish
Browse files Browse the repository at this point in the history
  • Loading branch information
sinclairzx81 committed Jul 31, 2023
1 parent 83be374 commit 29f6fd9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .git-hooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh
#
# Runs prettier on all files before comitting them.
# This does only work correctly if prettier is the only formatting tool (which
# should be the case).
# Runs prettier on all files before comitting them. This does only work correctly if
# prettier is the only formatting tool (which should be the case).
#
# src: https://prettier.io/docs/en/precommit.html

FILES=$(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g')
Expand Down

0 comments on commit 29f6fd9

Please sign in to comment.