build: update distribution
This commit is contained in:
parent
2721abb4d0
commit
ea2fd53dee
3
dist/index.js
vendored
3
dist/index.js
vendored
@ -141,7 +141,8 @@ function createOrUpdateBranch(git, commitMessage, base, branch, branchRemoteName
|
||||
}
|
||||
const commitResult = yield git.commit(popts, true);
|
||||
// 'nothing to commit' can occur when core.autocrlf is set to true
|
||||
if (commitResult.exitCode != 0 && !commitResult.stdout.includes(NOTHING_TO_COMMIT)) {
|
||||
if (commitResult.exitCode != 0 &&
|
||||
!commitResult.stdout.includes(NOTHING_TO_COMMIT)) {
|
||||
throw new Error(`Unexpected error: ${commitResult.stderr}`);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user