Use exit code 1 for all tests.

There's no real good reason why they were different and exit code 1 is
pretty standard and well understood.
This commit is contained in:
Christopher Horrell 2018-05-31 17:49:15 -04:00
parent 0c7b575b9b
commit 5a8088bab1
No known key found for this signature in database
GPG Key ID: 6E82CA4127747B7C
1 changed files with 2 additions and 2 deletions

View File

@ -7,12 +7,12 @@ echo "Test for node succeeded."
if ! npm --version >/dev/null; then
echo "Test for npm failed!"
exit 2
exit 1
fi
echo "Test for npm succeeded."
if ! yarn --version >/dev/null; then
echo "Test of yarn failed!"
exit 3
exit 1
fi
echo "Test for yarn succeeded."