From 5a8088bab1c03314a37ee381103aac26f80680df Mon Sep 17 00:00:00 2001 From: Christopher Horrell Date: Thu, 31 May 2018 17:49:15 -0400 Subject: [PATCH] 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. --- test-image.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-image.sh b/test-image.sh index 5f257a1f..e409e3bc 100755 --- a/test-image.sh +++ b/test-image.sh @@ -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."