From f2338cd0729847dc5dafea571128257b508b578e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 18 Aug 2022 17:29:42 +0900 Subject: [PATCH] build: update distribution (#1216) Co-authored-by: peter-evans --- dist/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 83c6b2f38..4f341d4a0 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}`); } }