1 Commits

Author SHA1 Message Date
a806874594 fix git grep
Some checks failed
Gentoo Utils / build-oci-image (push) Successful in 7s
Gentoo Utils / grep (push) Failing after 3s
Gentoo Utils / check-format (push) Successful in 7s
Gentoo Utils / docs (push) Successful in 11s
Gentoo Utils / build (push) Successful in 49s
Gentoo Utils / test (push) Has been cancelled
Gentoo Utils / fuzz (push) Has been cancelled
2025-12-14 21:20:38 -06:00

View File

@@ -193,5 +193,9 @@ jobs:
- name: grep for patterns
# negate git grep ret code because 1 means no findings
run: |
git --no-pager grep -E 'todo!|dbg!' -- '*.rs' && echo "exit 1" || echo "exit 0"
if git --no-pager grep -E 'todo!|dbg!' -- '*.rs'; then
exit 1
else
exit 0
fi