Skip to content

Commit

Permalink
🚨 fix linter warning (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
alaz authored Mar 2, 2024
1 parent 34707c7 commit 4e75114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubocop/cop/custom/ip_ranges.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class IpRanges < Base # :nodoc:
extend AutoCorrector

MSG = 'Outdated list of IP ranges compared to %<url>s'
REGEXP = /^\s*#\s*@fetch:(?<param>[a-z0-9_]+)\s+(?<arg>.*)?/
REGEXP = /^\s*#\s*@fetch:(?<param>[a-z0-9_]+)\s+(?<arg>.*)?/.freeze

def_node_matcher :on_ip_ranges, <<~PATTERN
(send nil? :ip_ranges $(array str+))
Expand Down

0 comments on commit 4e75114

Please sign in to comment.