Commit 077107b

mo khan <mo@mokhan.ca>
2026-01-22 21:16:54
fix: use break instead of return in verify tool tag: v0.9.1
1 parent ff705a7
Changed files (2)
lib
elelem
plugins
lib/elelem/plugins/verify.rb
@@ -37,7 +37,7 @@ module Elelem
       Verifiers.for(path).inject({verified: []}) do |memo, cmd|
         $stdout.puts toolbox.header("execute", { "command" => cmd })
         v = toolbox.run("execute", { "command" => cmd })
-        return v.merge(path: path, command: cmd) if v[:exit_status] != 0
+        break v.merge(path: path, command: cmd) if v[:exit_status] != 0
 
         memo[:verified] << cmd
         memo
CHANGELOG.md
@@ -2,6 +2,7 @@
 
 ### Fixed
 - Use `next` instead of `return` to exit block in execute plugin after-hook
+- Use `break` instead of `return` to exit `inject` block in verify plugin
 
 ## [0.9.0] - 2026-01-21