Skip to content

Commit

Permalink
hooks/pre-commit: Fix formatting check
Browse files Browse the repository at this point in the history
  • Loading branch information
obiwac committed Sep 29, 2024
1 parent e016b3b commit 37f7d55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .git-template/hooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ fi

git diff-index --check --cached $against --

# Run `pnpm format:check` and fail if it fails.
# Run formatter and fail if it fails.

exec pnpm format:check
exec prettier --check .

0 comments on commit 37f7d55

Please sign in to comment.