Skip to content

Commit

Permalink
refactor: resilience
Browse files Browse the repository at this point in the history
we even also need to escape the `&` character
  • Loading branch information
mfranzke authored Sep 4, 2024
1 parent eda0e3a commit 34471a5
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 @@ -2,5 +2,5 @@ echo "### npm run general lintings ###"
concurrently "node ./scripts/check-commit-mail.js" "node ./scripts/cypress/component-check.js" "node ./scripts/angular-module-component-check.js" "npx validate-branch-name"
echo "### lint staged files ###"
lint-staged
prettier $(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g') --write --ignore-unknown
prettier $(git diff --cached --name-only --diff-filter=ACMR | sed 's|( |&)|\\ |g') --write --ignore-unknown
git update-index --again

0 comments on commit 34471a5

Please sign in to comment.