mirror of https://github.com/node-red/node-red.git
Fix git clone with password protected key
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