fixing git credential helper for GitHub Enterprise
This commit is contained in:
parent
4af8fb303d
commit
26833e8753
1 changed files with 2 additions and 1 deletions
|
@ -25,8 +25,9 @@ require "boxen/config"
|
|||
config = Boxen::Config.load
|
||||
input = $stdin.read
|
||||
attrs = Hash[input.split($/).map { |l| l.split("=") }]
|
||||
ghhost = URI(config.ghurl).host
|
||||
|
||||
if command != "get" || attrs["host"] != "github.com"
|
||||
if command != "get" || attrs["host"] != ghhost
|
||||
require "open4"
|
||||
|
||||
fallback = ENV["BOXEN_GIT_CREDENTIAL_FALLBACK"]
|
||||
|
|
Loading…
Reference in a new issue