Skip to content

Commit 18f9043

Browse files
build: update distribution (#1216)
Co-authored-by: peter-evans <[email protected]>
1 parent 2721abb commit 18f9043

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dist/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ function createOrUpdateBranch(git, commitMessage, base, branch, branchRemoteName
141141
}
142142
const commitResult = yield git.commit(popts, true);
143143
// 'nothing to commit' can occur when core.autocrlf is set to true
144-
if (commitResult.exitCode != 0 && !commitResult.stdout.includes(NOTHING_TO_COMMIT)) {
144+
if (commitResult.exitCode != 0 &&
145+
!commitResult.stdout.includes(NOTHING_TO_COMMIT)) {
145146
throw new Error(`Unexpected error: ${commitResult.stderr}`);
146147
}
147148
}

0 commit comments

Comments
 (0)