Skip to content

Commit e5ae9bd

Browse files
committed
Remove duplicate parser
1 parent ab68da2 commit e5ae9bd

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
@@ -62,10 +62,6 @@ def add_options_to_parser(option_parser) # rubocop:disable Metrics/MethodLength
6262
ENV['additional_file_patterns'] = additional_file_patterns
6363
end
6464

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

0 commit comments

Comments
 (0)