We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4677367 commit c81a1fdCopy full SHA for c81a1fd
3 files changed
deploy/hooks.sh
@@ -1,3 +1,5 @@
1
#!/usr/bin/env bash
2
3
-cp ./hooks/* ./.git/hooks/
+if [ -d './hooks' ] && [ -d './.git/hooks' ]; then
4
+ cp ./hooks/* ./.git/hooks/
5
+fi
0 commit comments