Skip to content

Commit f36bb23

Browse files
author
Danny McCormick
authored
Fix husky
1 parent 3771c20 commit f36bb23

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
@@ -44,7 +44,8 @@
4444
"husky": {
4545
"skipCI": true,
4646
"hooks": {
47-
"pre-commit": "npm run build && npm run format && npm prune --production && git add node_modules/*"
47+
"pre-commit": "npm run build && npm run format",
48+
"post-commit": "npm prune --production && git add node_modules/* && git commit -m \"Husky commit correct node modules\""
4849
}
4950
}
5051
}

0 commit comments

Comments
 (0)