Better error message
Co-authored-by: Camelid <camelidcamel@gmail.com>
This commit is contained in:
parent
b10bdb58f4
commit
7f22d040f8
|
|
@ -10,7 +10,7 @@ if [ "$TRAVIS_EVENT_TYPE" = "cron" ] ; then # running in cron job
|
|||
echo "Doing full link check."
|
||||
elif [ "$CI" = "true" ] ; then # running in PR CI build
|
||||
if [ -z "$TRAVIS_COMMIT_RANGE" ]; then
|
||||
echo "error: unexpected state: COMMIT_RANGE must be non-empty in CI"
|
||||
echo "error: unexpected state: TRAVIS_COMMIT_RANGE must be non-empty in CI"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue