Skip to content

Commit 674408f

Browse files
Marcy Suttonmarcysutton
authored andcommitted
fix: try telling circle to skip .git/hooks
1 parent 1107783 commit 674408f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/postinstall.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
if [ -d ".git" ]; then
3+
if [ -d ".git/hooks" ]; then
44
if [ ! -f ".git/hooks/commit-msg" ]; then
55
echo "Installing pre-commit hook"
66
cd .git/hooks/ && cp ../../node_modules/angular-precommit/index.js commit-msg && cd ../../

0 commit comments

Comments
 (0)