mirror of
https://github.com/actions/setup-go.git
synced 2024-12-27 08:41:03 +08:00
Fix husky
This commit is contained in:
parent
fc36eb15ce
commit
44112531e2
@ -43,7 +43,8 @@
|
||||
"husky": {
|
||||
"skipCI": true,
|
||||
"hooks": {
|
||||
"pre-commit": "npm run build && npm run format && npm prune --production && git add node_modules/*"
|
||||
"pre-commit": "npm run build && npm run format",
|
||||
"post-commit": "npm prune --production && git add node_modules/* && git commit -m \"Husky commit correct node modules\""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user