Commit 077107b
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