mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Ignore commit error in project feature
This commit is contained in:
parent
113d42ef35
commit
156c3984a7
@ -71,6 +71,8 @@ function runGitCommand(args,cwd,env,emit) {
|
|||||||
err.code = "git_missing_user";
|
err.code = "git_missing_user";
|
||||||
} else if (/name consists only of disallowed characters/i.test(stderr)) {
|
} else if (/name consists only of disallowed characters/i.test(stderr)) {
|
||||||
err.code = "git_missing_user";
|
err.code = "git_missing_user";
|
||||||
|
} else if (/nothing (add )?to commit/i.test(stdout)) {
|
||||||
|
return stdout;
|
||||||
}
|
}
|
||||||
throw err;
|
throw err;
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user