diff --git a/dist/index.js b/dist/index.js index 83c6b2f..4f341d4 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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}`); } }