mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
29142128f2
commit
e691b1b7c3
@ -51,6 +51,8 @@ function runGitCommand(args,cwd,env,emit) {
|
|||||||
err.code = "git_auth_failed";
|
err.code = "git_auth_failed";
|
||||||
} else if(/Permission denied \(publickey\)/i.test(stderr)) {
|
} else if(/Permission denied \(publickey\)/i.test(stderr)) {
|
||||||
err.code = "git_auth_failed";
|
err.code = "git_auth_failed";
|
||||||
|
} else if(/Authentication failed/i.test(stderr)) {
|
||||||
|
err.code = "git_auth_failed";
|
||||||
} else if (/commit your changes or stash/i.test(stderr)) {
|
} else if (/commit your changes or stash/i.test(stderr)) {
|
||||||
err.code = "git_local_overwrite";
|
err.code = "git_local_overwrite";
|
||||||
} else if (/CONFLICT/.test(err.stdout)) {
|
} else if (/CONFLICT/.test(err.stdout)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user