lib/tty/command/dry_runner.rb in tty-command-0.7.0 vs lib/tty/command/dry_runner.rb in tty-command-0.8.0
- old
+ new
@@ -18,10 +18,10 @@
# @api public
def run!(*)
cmd.to_command
message = "#{@printer.decorate('(dry run)', :blue)} " +
@printer.decorate(cmd.to_command, :yellow, :bold)
- @printer.write(message, cmd.uuid)
+ @printer.write(cmd, message, cmd.uuid)
Result.new(0, '', '')
end
end # DryRunner
end # Command
end # TTY