lib/tty/command/dry_runner.rb in tty-command-0.9.0 vs lib/tty/command/dry_runner.rb in tty-command-0.10.0
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
-require_relative 'result'
+require_relative "result"
module TTY
class Command
class DryRunner
attr_reader :cmd
@@ -15,13 +15,13 @@
# Show command without running
#
# @api public
def run!(*)
cmd.to_command
- message = "#{@printer.decorate('(dry run)', :blue)} " +
+ message = "#{@printer.decorate("(dry run)", :blue)} " +
@printer.decorate(cmd.to_command, :yellow, :bold)
@printer.write(cmd, message, cmd.uuid)
- Result.new(0, '', '')
+ Result.new(0, "", "")
end
end # DryRunner
end # Command
end # TTY