1 parent ff8a294 commit c2537bfCopy full SHA for c2537bf
1 file changed
composer.json
@@ -46,8 +46,8 @@
46
"@cs",
47
"@fix"
48
],
49
- "post-install-cmd": "cghooks add --ignore-lock",
50
- "post-update-cmd": "cghooks update"
+ "post-install-cmd": "[[ \"$COMPOSER_DEV_MODE\" = 1 ]] && cghooks add --ignore-lock",
+ "post-update-cmd": "[[ \"$COMPOSER_DEV_MODE\" = 1 ]] && cghooks update"
51
},
52
"extra": {
53
"hooks": {
0 commit comments