Commit 2d3bace6 authored by Dave Machado's avatar Dave Machado Committed by GitHub
Browse files

Update exit code check for format validation

parent 42e2bdc7
......@@ -3,10 +3,11 @@
echo "running format validation..."
./validate.rb ../README.md
if ["$?" == 0]; then
echo "format validation PASSED"
if [[ $? != 0 ]]; then
echo "format validation failed!"
exit $?
else
echo "format validation FAILED"
echo "format validation passed!"
fi
if [ "$TRAVIS_BRANCH" == "master" ]; then
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment