rubocop: Drop "p" from Naming/MethodParameterName allowlist
- It's used to refer to a patch, so use the long name.
This commit is contained in:
parent
0cd616bc66
commit
e273c25be0
@ -199,7 +199,6 @@ Naming/MethodParameterName:
|
||||
"f",
|
||||
"ff",
|
||||
"o",
|
||||
"p",
|
||||
"pr",
|
||||
]
|
||||
|
||||
|
||||
@ -152,8 +152,8 @@ module Homebrew
|
||||
opoo "Cask reports different sha256: #{e.expected}"
|
||||
end
|
||||
|
||||
def self.fetch_patch(p, args:)
|
||||
fetch_fetchable p, args: args
|
||||
def self.fetch_patch(patch, args:)
|
||||
fetch_fetchable patch, args: args
|
||||
rescue ChecksumMismatchError => e
|
||||
opoo "Patch reports different sha256: #{e.expected}"
|
||||
Homebrew.failed = true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user