Skip to content

Commit 466e068

Browse files
committed
chore: update syntax for husky v9
1 parent dec7f0b commit 466e068

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.husky/commit-msg

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
42
npx --no-install commitlint --edit "$1"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"test": "jest",
1313
"lint": "eslint .",
1414
"lint:fix": "eslint --fix .",
15-
"prepare": "npm run build && husky install",
15+
"prepare": "npm run build && husky",
1616
"semantic-release": "semantic-release"
1717
},
1818
"keywords": [

0 commit comments

Comments
 (0)