Skip to content

Commit 309a5e3

Browse files
committed
build(husky): configureing husky
1 parent ce33d37 commit 309a5e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
},
6060
"husky": {
6161
"hooks": {
62-
"pre-push": "export NOW=$(date) && npm run webpack:prod && git commit --no-verify ./assets/js -m \"🐶 [husky] pre push hook building the production js ${NOW}\" && git push --no-verify -u origin HEAD"
62+
"post-commit": "export NOW=$(date) && npm run webpack:prod && git commit --allow-empty --no-verify assets/js/* -m \"[husky] pre push hook - building the production js ${NOW}\""
6363
}
6464
}
6565
}

0 commit comments

Comments
 (0)