Skip to content

Commit e6dc648

Browse files
Implement Merge test cases (#32)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 7cdff96 commit e6dc648

2 files changed

Lines changed: 365 additions & 40 deletions

File tree

src/autoupdater.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ export class AutoUpdater {
231231
head: baseRef,
232232
};
233233

234-
if (mergeMsg !== null && mergeMsg.length > 0) {
234+
if (typeof mergeMsg === 'string' && mergeMsg.length > 0) {
235235
mergeOpts.commit_message = mergeMsg;
236236
}
237237

0 commit comments

Comments
 (0)