Skip to content

Commit 737b755

Browse files
committed
style: reformat code per houndci-bot suggestions
1 parent fa16f46 commit 737b755

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/tty/command.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ def initialize(**options)
5858
@tag = options[:tag]
5959
@printer_name = options.fetch(:printer) { :pretty }
6060
@dry_run = options.fetch(:dry_run) { false }
61-
@printer = use_printer(@printer_name, color: @color, uuid: @uuid, tag: @tag)
61+
@printer = use_printer(
62+
@printer_name, color: @color, uuid: @uuid, tag: @tag
63+
)
6264
@cmd_options = {}
6365
@cmd_options[:verbose] = options.fetch(:verbose, true)
6466
@cmd_options[:pty] = true if options[:pty]

spec/unit/run_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
end
134134

135135
it "does not persist environment variables",
136-
unless: RSpec::Support::OS.windows? do
136+
unless: RSpec::Support::OS.windows? do
137137
output = StringIO.new
138138
command = TTY::Command.new(output: output)
139139

0 commit comments

Comments
 (0)