Skip to content

Commit

Permalink
fix: pass extra arg to wireit script in git hook
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiand391 committed Jul 11, 2023
1 parent 230bf2c commit 76e44d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/husky-init.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function initializeHusky() {
if (localGitHooks.length === 0) {
shell.exec("yarn husky add .husky/commit-msg 'yarn commitlint --edit'");
shell.exec("yarn husky add .husky/pre-commit 'yarn lint && yarn pretty-quick --staged'");
shell.exec("yarn husky add .husky/pre-push 'yarn build && yarn test --forbid-only'");
shell.exec("yarn husky add .husky/pre-push 'yarn build && yarn run test:only -- --forbid-only'");
}
} catch (err) {
if (err.code === 'ENOENT') {
Expand Down

0 comments on commit 76e44d8

Please sign in to comment.