From 87d02f1b3d19ac91029deac60d07565445708e7f Mon Sep 17 00:00:00 2001 From: John Turner Date: Sun, 14 Dec 2025 04:34:28 +0000 Subject: [PATCH] fixup --- .gitea/workflows/gentoo-utils.yml | 7 +------ check_commands.txt | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/gentoo-utils.yml b/.gitea/workflows/gentoo-utils.yml index e757468..e3a07c9 100644 --- a/.gitea/workflows/gentoo-utils.yml +++ b/.gitea/workflows/gentoo-utils.yml @@ -165,9 +165,4 @@ jobs: - name: grep for patterns run: | - if git grep -e 'dbg!|todo!' -- '*.rs'; then - false - else - true - fi - + git grep 'todo!|dbg!' -- '*.rs' && exit 1 diff --git a/check_commands.txt b/check_commands.txt index 2bb8a74..cdf552d 100644 --- a/check_commands.txt +++ b/check_commands.txt @@ -3,4 +3,4 @@ ninja rustfmt -C build ninja rustdoc -C build ninja clippy -C build ninja test -C build -if git grep -e 'dbg!' -- '*.rs'; then false; else true; fi +git grep 'todo!|dbg!' -- '*.rs' && exit 1