fix style offences

This commit is contained in:
Bevan Kay 2022-01-10 21:34:51 +11:00
parent cc2b99c8cf
commit 22d68fb99b
No known key found for this signature in database
GPG Key ID: C55CB024B5314B57

View File

@ -12,11 +12,12 @@ module RuboCop
include OnUrlStanza
extend AutoCorrector
MSG_CSV = "Use 'version.csv.first' instead of 'version.before_comma' and 'version.csv.second' instead of 'version.after_comma'."
MSG_CSV = "Use 'version.csv.first' instead of 'version.before_comma'"\
"and 'version.csv.second' instead of 'version.after_comma'."
def on_url_stanza(stanza)
def on_url_stanza(stanza)
return if stanza.stanza_node.type == :block
url_node = stanza.stanza_node.first_argument
legacy_comma_separator_pattern = /version.(before|after)_comma/