mirror of
https://github.com/gosticks/brew.git
synced 2026-10-06 15:36:59 +00:00
rubocop: fix brew style warnings.
This commit is contained in:
@@ -129,7 +129,7 @@ module GitHub
|
||||
# This is a no-op if the user is opting out of using the GitHub API.
|
||||
return block_given? ? yield({}) : {} if ENV["HOMEBREW_NO_GITHUB_API"]
|
||||
|
||||
args = %W[--header application/vnd.github.v3+json --write-out \n%{http_code}]
|
||||
args = %W[--header application/vnd.github.v3+json --write-out \n%{http_code}] # rubocop:disable Lint/NestedPercentLiteral
|
||||
args += curl_args
|
||||
|
||||
token, username = api_credentials
|
||||
|
||||
Reference in New Issue
Block a user