Skip to content

Commit

Permalink
Squelch useless periphery output on GitHub runners.
Browse files Browse the repository at this point in the history
Resolve #594

Signed-off-by: Ross Goldberg <[email protected]>
  • Loading branch information
rgoldberg committed Oct 24, 2024
1 parent 22cadb8 commit 9f96069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/lint
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ PAGER='cat' git diff --check

printf -- $'--> 🌀 Periphery\n'
script -q /dev/null periphery scan --strict --quiet --disable-update-check |
(grep -vE '\x1b\[0;1;32m\* \x1b\[0;0m\x1b\[0;1mNo unused code detected\.\x1b\[0;0m\r$' || true)
(grep -vE '\* \x1b\[0;0m\x1b\[0;1mNo unused code detected\.\x1b\[0;0m\r$' || true)
((exit_code |= "${?}"))

exit "${exit_code}"

0 comments on commit 9f96069

Please sign in to comment.