Skip to content

Commit dd4bf2b

Browse files
dvandersluisbbatsov
authored andcommitted
Fix rubocop failure introduced in 9a8777f
1 parent c21fe12 commit dd4bf2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rubocop/cop/naming/variable_number.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def message(style)
141141
end
142142

143143
def allowed_identifier?(name)
144-
allowed_identifiers.include?(name.to_s.gsub('@', ''))
144+
allowed_identifiers.include?(name.to_s.delete('@'))
145145
end
146146

147147
def allowed_identifiers

0 commit comments

Comments
 (0)