Skip to content

Commit

Permalink
feat(husky): remove no longer needed npm exec since 9.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Jul 22, 2024
1 parent 337180e commit ebecd53
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1 +1 @@
npm exec --no -- commitlint --edit "$1"
commitlint --edit "$1"
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
npm exec --no -- lint-staged
lint-staged
4 changes: 2 additions & 2 deletions test/__snapshots__/init.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ jobs:
`;

exports[`write ".husky/commit-msg" 1`] = `
"npm exec --no -- commitlint --edit "$1"
"commitlint --edit "$1"
"
`;

Expand All @@ -267,7 +267,7 @@ exports[`write ".husky/post-commit" 1`] = `
`;

exports[`write ".husky/pre-commit" 1`] = `
"npm exec --no -- lint-staged
"lint-staged
"
`;

Expand Down

0 comments on commit ebecd53

Please sign in to comment.