Skip to content

Commit 7b92892

Browse files
manucabronzdoc
authored andcommitted
fix broken build
1 parent 5564b6f commit 7b92892

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/skunk/cli/options/argv.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def parse # rubocop:disable Metrics/MethodLength
2626
end
2727

2828
opts.on("-o", "--out FILE", "Output report to file") do |filename|
29-
self.output_filename = String(filename)
29+
@output_filename = String(filename)
3030
end
3131

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

test/lib/skunk/cli/options/argv_test.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
require "test_helper"
24

35
require "skunk/cli/options/argv"

0 commit comments

Comments
 (0)