From 370ca7f6aae429fef45062a850702dc4e655b4dc Mon Sep 17 00:00:00 2001 From: Sam Johnson Date: Fri, 9 Aug 2024 10:22:29 -0400 Subject: [PATCH] whoops --- .github/workflows/check-rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-rust.yml b/.github/workflows/check-rust.yml index 52032b21e..996fd9454 100644 --- a/.github/workflows/check-rust.yml +++ b/.github/workflows/check-rust.yml @@ -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