Skip to content

Commit

Permalink
fix(prettier): windows environments
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke authored Nov 19, 2024
1 parent 6640e2b commit 25027ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ validate-branch-name
echo "### lint staged files ###"
lint-staged
echo "### prettify staged files ###"
prettier $(git diff --cached --name-only --diff-filter=ACMR | sed 's|( |&)|\\ |g') --write --ignore-unknown
lint-staged --config .config/.lintstagedrc-prettier.js
git update-index --again
echo "### check for commit mail ###"
node ./scripts/check-commit-mail.mjs

0 comments on commit 25027ae

Please sign in to comment.