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",
|
"f",
|
||||||
"ff",
|
"ff",
|
||||||
"o",
|
"o",
|
||||||
"p",
|
|
||||||
"pr",
|
"pr",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@ -152,8 +152,8 @@ module Homebrew
|
|||||||
opoo "Cask reports different sha256: #{e.expected}"
|
opoo "Cask reports different sha256: #{e.expected}"
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.fetch_patch(p, args:)
|
def self.fetch_patch(patch, args:)
|
||||||
fetch_fetchable p, args: args
|
fetch_fetchable patch, args: args
|
||||||
rescue ChecksumMismatchError => e
|
rescue ChecksumMismatchError => e
|
||||||
opoo "Patch reports different sha256: #{e.expected}"
|
opoo "Patch reports different sha256: #{e.expected}"
|
||||||
Homebrew.failed = true
|
Homebrew.failed = true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user