We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e7704d commit 2caa1c2Copy full SHA for 2caa1c2
1 file changed
tools/git/hooks/pre-push
@@ -56,7 +56,7 @@ has_commits() {
56
fi
57
if [[ -z "${commits}" ]]; then
58
echo 'No commits to push.'
59
- return 1
+ return 1
60
61
echo 'Found commits to push.'
62
return 0
@@ -80,10 +80,10 @@ run_tests() {
80
make test > /dev/null 2>&1
81
if [[ "$?" -ne 0 ]]; then
82
echo 'Tests failed. Run `make test` to see the failing tests.' >&2
83
84
- fi
85
- echo 'Tests passed.' >&2
86
- return 0
+ fi
+ echo 'Tests passed.' >&2
+ return 0
87
}
88
89
# Main execution sequence.
0 commit comments