From 3d430562ef882c556e5ed4657eb43323f2d76982 Mon Sep 17 00:00:00 2001 From: Radio <6828800+jpl1337@users.noreply.github.com> Date: Wed, 23 Sep 2026 14:22:15 -0400 Subject: [PATCH] Make lint exit non-zero on invalid rules --- src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.rs b/src/main.rs index aa1dc2e..db51009 100644 --- a/src/main.rs +++ b/src/main.rs @@ -927,6 +927,9 @@ fn run() -> Result<()> { count, count + failed ); + if failed > 0 { + anyhow::bail!("{} detection rule(s) failed to validate", failed); + } } Command::Search { path,