Skip to content

Commit 1f2d419

Browse files
committed
Remove duplicate parser
1 parent 21defa0 commit 1f2d419

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/annotate/parser.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ def add_options_to_parser(option_parser) # rubocop:disable Metrics/MethodLength
6161
ENV['additional_file_patterns'] = additional_file_patterns
6262
end
6363

64-
option_parser.on('-a', '--additional_file_patterns', Array, "Additional file paths or globs to annotate") do |additional_file_patterns|
65-
ENV['additional_file_patterns'] = additional_file_patterns
66-
end
67-
6864
option_parser.on('-p', '--position [before|top|after|bottom]', positions,
6965
'Place the annotations at the top (before) or the bottom (after) of the model/test/fixture/factory/route/serializer file(s)') do |p|
7066
env['position'] = p

0 commit comments

Comments
 (0)