Skip to content

Commit

Permalink
Squelch useless periphery output on GitHub runners: excise trailing…
Browse files Browse the repository at this point in the history
… pattern.

Resolve #594

Signed-off-by: Ross Goldberg <[email protected]>
  • Loading branch information
rgoldberg committed Oct 24, 2024
1 parent 9f96069 commit 7d8a6b2
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;0m\x1b\[0;1mNo unused code detected\.\x1b\[0;0m\r$' || true)
(grep -vE '\* \x1b\[0;0m\x1b\[0;1mNo unused code detected\.' || true)
((exit_code |= "${?}"))

exit "${exit_code}"

0 comments on commit 7d8a6b2

Please sign in to comment.