Skip to content

Commit

Permalink
fix: #execute should always emit "OK" on success
Browse files Browse the repository at this point in the history
This fixes a regression in the previous commit.
  • Loading branch information
flavorjones committed Apr 28, 2021
1 parent b2730c8 commit 88f92a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mini_portile2/mini_portile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ def execute(action, command, command_opts={})
end

if $?.success?
output "OK" if opt_message
output "OK"
return true
else
if File.exist? log_out
Expand Down

0 comments on commit 88f92a8

Please sign in to comment.