3
0
Fork 0
mirror of https://gitea.com/actions/setup-go.git synced 2024-11-22 09:39:31 +01:00

Fix husky

This commit is contained in:
Danny McCormick 2019-07-12 11:01:07 -04:00 committed by GitHub
parent fc36eb15ce
commit 44112531e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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\""
}
}
}