Skip to content

Commit 6f04b1e

Browse files
manucabronzdoc
authored andcommitted
address PR feedback
1 parent 8c6a25d commit 6f04b1e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/skunk/cli/options/argv.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ class Options
1111
class Argv < RubyCritic::Cli::Options::Argv
1212
attr_reader :output_filename
1313

14-
def initialize(argv)
15-
super
16-
end
17-
1814
def parse # rubocop:disable Metrics/MethodLength
1915
parser.new do |opts|
2016
opts.banner = "Usage: skunk [options] [paths]\n"
@@ -26,7 +22,7 @@ def parse # rubocop:disable Metrics/MethodLength
2622
end
2723

2824
opts.on("-o", "--out FILE", "Output report to file") do |filename|
29-
@output_filename = String(filename)
25+
@output_filename = filename
3026
end
3127

3228
opts.on_tail("-v", "--version", "Show gem's version") do

0 commit comments

Comments
 (0)