utils/rubocop: don't recreate Regexp into new Regexp

This commit is contained in:
Rylan Polster 2021-02-11 08:41:32 -05:00
parent b4995379d4
commit 945d757450
No known key found for this signature in database
GPG Key ID: 46A744940CFF4D64

View File

@ -11,7 +11,7 @@ warnings = [
]
warnings.each do |warning|
Warning.ignore Regexp.new(warning)
Warning.ignore warning
end
require "rubocop"