Skip to content

Commit 5a8088b

Browse files
committed
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.
1 parent 0c7b575 commit 5a8088b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test-image.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ echo "Test for node succeeded."
77

88
if ! npm --version >/dev/null; then
99
echo "Test for npm failed!"
10-
exit 2
10+
exit 1
1111
fi
1212
echo "Test for npm succeeded."
1313

1414
if ! yarn --version >/dev/null; then
1515
echo "Test of yarn failed!"
16-
exit 3
16+
exit 1
1717
fi
1818
echo "Test for yarn succeeded."

0 commit comments

Comments
 (0)