mirror of
https://github.com/actions/setup-go
synced 2024-12-22 14:22:41 +00:00
Fix husky
This commit is contained in:
parent
fc36eb15ce
commit
44112531e2
1 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,8 @@
|
||||||
"husky": {
|
"husky": {
|
||||||
"skipCI": true,
|
"skipCI": true,
|
||||||
"hooks": {
|
"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…
Reference in a new issue