Apply Rubocop Performance/RedundantSplitRegexpArgument (#23443)

* Apply Rubocop Performance/RedundantSplitRegexpArgument

* Update app/controllers/concerns/signature_verification.rb
lolsob-rspec
Nick Schonning 2023-02-07 20:25:20 -05:00 committed by GitHub
parent 6af127a98e
commit e276e530ea
1 changed files with 1 additions and 1 deletions

View File

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