Merge pull request #3987 from kazuhitoyokoi/master-fixproject

Ignore commit error in project feature
pull/3992/head
Nick O'Leary 2022-12-27 14:15:47 +00:00 committed by GitHub
commit b3ce0c0079
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -71,6 +71,8 @@ function runGitCommand(args,cwd,env,emit) {
err.code = "git_missing_user";
} else if (/name consists only of disallowed characters/i.test(stderr)) {
err.code = "git_missing_user";
} else if (/nothing (add )?to commit/i.test(stdout)) {
return stdout;
}
throw err;
})