Skip to content
Snippets Groups Projects
Unverified Commit 982d8165 authored by Issy Long's avatar Issy Long Committed by GitHub
Browse files

Merge pull request #8085 from issyl0/fix-bintray-envconfig-uninitialized-constant

bintray: Fix "uninitialized constant EnvConfig" errors
parents b50eea68 9f296aa6
No related branches found
No related tags found
No related merge requests found
......@@ -25,8 +25,8 @@ class Bintray
args = extra_curl_args
if auth
raise UsageError, "HOMEBREW_BINTRAY_USER is unset." unless (user = EnvConfig.bintray_user)
raise UsageError, "HOMEBREW_BINTRAY_KEY is unset." unless (key = EnvConfig.bintray_key)
raise UsageError, "HOMEBREW_BINTRAY_USER is unset." unless (user = Homebrew::EnvConfig.bintray_user)
raise UsageError, "HOMEBREW_BINTRAY_KEY is unset." unless (key = Homebrew::EnvConfig.bintray_key)
args += ["--user", "#{user}:#{key}"]
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment