rubocop: fix brew style warnings.

This commit is contained in:
Mike McQuaid
2018-01-17 10:42:43 +00:00
parent 8cd0d85afb
commit 1f48e17f1b
5 changed files with 75 additions and 77 deletions
+1 -1
View File
@@ -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