Skip to content

Commit 2caa1c2

Browse files
committed
Turn spaces to tabs
1 parent 9e7704d commit 2caa1c2

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tools/git/hooks/pre-push

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ has_commits() {
5656
fi
5757
if [[ -z "${commits}" ]]; then
5858
echo 'No commits to push.'
59-
return 1
59+
return 1
6060
fi
6161
echo 'Found commits to push.'
6262
return 0
@@ -80,10 +80,10 @@ run_tests() {
8080
make test > /dev/null 2>&1
8181
if [[ "$?" -ne 0 ]]; then
8282
echo 'Tests failed. Run `make test` to see the failing tests.' >&2
83-
return 1
84-
fi
85-
echo 'Tests passed.' >&2
86-
return 0
83+
return 1
84+
fi
85+
echo 'Tests passed.' >&2
86+
return 0
8787
}
8888

8989
# Main execution sequence.

0 commit comments

Comments
 (0)