Skip to content

Commit e3efecb

Browse files
committed
Disable parameter lists metric for the time being for Rule::Matchers
1 parent 62a10fa commit e3efecb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/rack_reverse_proxy/rule.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ def substitute_matches
106106

107107
# Matches represents collection of matched objects for Rule
108108
class Matches
109+
# rubocop:disable Metrics/ParameterLists
110+
109111
# FIXME: eliminate :url, :accept_headers, :has_custom_url
110112
def initialize(spec, url, path, accept_headers, has_custom_url, headers, rackreq, *_)
111113
@spec = spec

0 commit comments

Comments
 (0)