We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16b900d commit 6e3629cCopy full SHA for 6e3629c
1 file changed
Makefile
@@ -171,5 +171,16 @@ serve: install
171
$(YARN) run start
172
173
174
-upgrade:
+upgrade:\
175
+ .git/hooks/commit-msg\
176
+ upgrade-remove-husky
177
@# Upgrade target, depends on other upgrades
178
+
179
180
+upgrade-remove-husky:
181
+ test -d .husky\
182
+ && rm -R .husky\
183
+ && git add .husky\
184
+ && git commit -m"maint: @patternslib/dev upgrade - remove .husky directory in favor of git hooks."\
185
+ || :
186
+ -git config --unset core.hooksPath
0 commit comments