mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix git clone with password protected key
This commit is contained in:
parent
2ebdd6c5cb
commit
41de771074
@ -29,7 +29,7 @@ function runGitCommand(args,cwd,env,emit) {
|
||||
log.trace(gitCommand + JSON.stringify(args));
|
||||
args.unshift("credential.helper=")
|
||||
args.unshift("-c");
|
||||
return exec.run(gitCommand, args, {cwd:cwd, env:env}, emit).then(result => {
|
||||
return exec.run(gitCommand, args, {cwd:cwd, detached:true, env:env}, emit).then(result => {
|
||||
return result.stdout;
|
||||
}).catch(result => {
|
||||
var stdout = result.stdout;
|
||||
|
Loading…
Reference in New Issue
Block a user