1
0
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:
Nick O'Leary 2019-02-21 22:44:09 +00:00
parent 2ebdd6c5cb
commit 41de771074
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -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;