Skip to content

Commit

Permalink
Only return exit code 1, if that's what the spec run did
Browse files Browse the repository at this point in the history
  • Loading branch information
Blacksmoke16 authored Dec 15, 2024
1 parent f89e95e commit 32a0313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 32a0313

Please sign in to comment.