Skip to content

Commit 4d94aec

Browse files
committed
replace git diff --quiet with git diff --exit-code in .travis.sh
1 parent f5d9ab3 commit 4d94aec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ vendor/bin/hacktest tests/
2020
vendor/bin/hhast-lint
2121

2222
hhvm examples/dorm/codegen.php examples/dorm/demo/DormUserSchema.php
23-
if ! git diff --quiet; then
23+
if ! git diff --exit-code; then
2424
echo "Demo codegen not up to date."
2525
exit 1
2626
fi

0 commit comments

Comments
 (0)