8000 Fix husky · keshgarg/setup-python@3002446 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3002446

Browse files
author
Danny McCormick
authored
Fix husky
1 parent 83fc6e2 commit 3002446

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
"husky": {
4444
"skipCI": true,
4545
"hooks": {
46-
"pre-commit": "npm run build && npm run format && npm prune --production && git add node_modules/*"
46+
"pre-commit": "npm run build && npm run format",
47+
"post-commit": "npm prune --production && git add node_modules/* && git commit -m \"Husky commit correct node modules\""
4748
}
4849
}
4950
}

0 commit comments

Comments
 (0)
0