From 32a03139964eed5a9676b10b50061f7535fce2d1 Mon Sep 17 00:00:00 2001 From: George Dietrich Date: Sun, 15 Dec 2024 11:08:54 -0500 Subject: [PATCH] Only return exit code 1, if that's what the spec run did --- scripts/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test.sh b/scripts/test.sh index 3d351390..4cdbbcad 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -74,7 +74,7 @@ for component in $(find src/components/ -maxdepth 2 -type f -name shard.yml | xa runSpecs $component fi - if [ $? -ne 0 ]; then + if [ $? -eq 1 ]; then EXIT_CODE=1 fi