1
0

Apply Rubocop Performance/RedundantSplitRegexpArgument (#23443)

* Apply Rubocop Performance/RedundantSplitRegexpArgument

* Update app/controllers/concerns/signature_verification.rb
This commit is contained in:
Nick Schonning 2023-02-07 20:25:20 -05:00 committed by GitHub
parent ef8988aef2
commit 2e652aa81c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -227,7 +227,7 @@ module SignatureVerification
end end
def to_header_name(name) def to_header_name(name)
name.split(/-/).map(&:capitalize).join('-') name.split('-').map(&:capitalize).join('-')
end end
def missing_required_signature_parameters? def missing_required_signature_parameters?