Skip to content

Commit

Permalink
build: inverse if statement condition
Browse files Browse the repository at this point in the history
  • Loading branch information
R-unic committed Dec 31, 2024
1 parent 694732a commit 99e440e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
output=$(<test-output.txt)
cleaned_output=$(echo "$output" | sed 's/\x1b\[[0-9;]*m//g')
cleaned_output=$(echo "$cleaned_output" | sed 's/\x1b\[0m$//')
if [[ ! $cleaned_output =~ Failed:\ 0$ ]]; then
if [[ $cleaned_output =~ Failed:\ 0$ ]]; then
exit 0
else
exit 1
Expand Down

0 comments on commit 99e440e

Please sign in to comment.