aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils/github.rb
diff options
context:
space:
mode:
authorMike McQuaid2018-01-17 10:42:43 +0000
committerMike McQuaid2018-01-17 10:42:43 +0000
commit1f48e17f1b2f681ea56b72b8d2c1eebdb77f2181 (patch)
treed6441603e1e8fb405b91ab1bb0e869c5a4af6a69 /Library/Homebrew/utils/github.rb
parent8cd0d85afba1bd07a6af24ffca54518ec8ff0d1c (diff)
downloadbrew-1f48e17f1b2f681ea56b72b8d2c1eebdb77f2181.tar.bz2
rubocop: fix brew style warnings.
Diffstat (limited to 'Library/Homebrew/utils/github.rb')
-rw-r--r--Library/Homebrew/utils/github.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/utils/github.rb b/Library/Homebrew/utils/github.rb
index be9bf4dd3..016676323 100644
--- a/Library/Homebrew/utils/github.rb
+++ b/Library/Homebrew/utils/github.rb
@@ -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