File tree Expand file tree Collapse file tree 3 files changed +14
-5
lines changed
Expand file tree Collapse file tree 3 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ . " $( dirname " $0 " ) /_/husky.sh"
3+ . " $( dirname " $0 " ) /common.sh"
4+
5+ yarn commitlint --edit $1
Original file line number Diff line number Diff line change 1+ command_exists () {
2+ command -v " $1 " > /dev/null 2>&1
3+ }
4+
5+ # Workaround for Windows 10, Git Bash and Yarn
6+ if command_exists winpty && test -t 1; then
7+ exec < /dev/tty
8+ fi
Original file line number Diff line number Diff line change 99 "url" : " git+https://github.com/patevs/powershell-profile.git"
1010 },
1111 "scripts" : {
12+ "prepare" : " husky install" ,
1213 "updates" : " npx ncu" ,
1314 "release" : " np"
1415 },
3233 " never"
3334 ]
3435 }
35- },
36- "husky" : {
37- "hooks" : {
38- "commit-msg" : " commitlint -E HUSKY_GIT_PARAMS"
39- }
4036 }
4137}
You can’t perform that action at this time.
0 commit comments