Skip to content

Commit ae1f722

Browse files
committed
chore: satisfy reek by renaming block var in --out handler
1 parent bee4b2a commit ae1f722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/skunk/cli/options/argv.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def parse
2424
end
2525

2626
opts.on("-o", "--out console,json,html", Array, "Output formats or file") do |values|
27-
if values.all? { |v| Skunk::Config.supported_format?(v.to_sym) }
27+
if values.all? { |val| Skunk::Config.supported_format?(val.to_sym) }
2828
Skunk::Config.formats = values.map(&:to_sym)
2929
else
3030
self.output_filename = values.join(",")

0 commit comments

Comments
 (0)