]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
chore: check commit message before tests
authorNicolas Coden <nicolas@ncoden.fr>
Tue, 24 Apr 2018 20:07:06 +0000 (22:07 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Tue, 24 Apr 2018 20:07:06 +0000 (22:07 +0200)
.huskyrc.yml

index 66c864378bba73ab5b538de6b98de69bbabf7e97..01d1617ee1c854840d58925fc558686be75dee31 100644 (file)
@@ -1,4 +1,6 @@
 hooks:
-  commit-msg: 'node ./script/husky-commitmsg.js --color -e $GIT_PARAMS'
-  pre-commit: 'node ./script/husky-precommit.js  --color'
-  pre-push: 'node ./script/husky-prepush.js  --color'
+  commit-msg: >
+    node ./script/husky-commitmsg.js --color -e $GIT_PARAMS &&
+    node ./script/husky-precommit.js  --color
+  pre-push:
+    node ./script/husky-prepush.js  --color