lib/lite/command/procedure.rb in lite-command-1.1.0 vs lib/lite/command/procedure.rb in lite-command-1.1.1

- old
+ new

@@ -10,11 +10,11 @@ def execute steps.each_with_object([]) do |command, results| command.call - if respond_to?(:errors) && command.respond_to?(:errors) && command.failure? - merge_errors!(command) + if command.respond_to?(:errors) && command.failure? + merge_errors!(command) if respond_to?(:errors) break results if exit_on_failure? else results << command.result end end