Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
sam0x17 committed Aug 9, 2024
1 parent 9c3690b commit 370ca7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ jobs:
cargo check 2>&1 | tee build_output.log
# Strip ANSI color codes
sed -r "s/\x1B\[[0-9;]*[mK]//g" build_output.log > clean_output.log
if grep -q "^warning:" build_output.log; then
if grep -q "^warning:" clean_output.log; then
echo "Build emitted the following warnings:"
>&2 echo `grep "^warning:" build_output.log`
>&2 echo `grep "^warning:" clean_output.log`
else
echo "No warnings found."
fi
Expand Down

0 comments on commit 370ca7f

Please sign in to comment.