We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b6f2b1 commit eebef88Copy full SHA for eebef88
.github/local-actions/branch-manager/main.js
ng-dev/pr/merge/strategies/api-merge.ts
@@ -90,7 +90,7 @@ export class GithubApiMergeStrategy extends AutosquashMergeStrategy {
90
// The commit message from the single normal commit is used.
91
if (hasOnlyFixUpForOneCommit) {
92
mergeOptions.merge_method = 'squash';
93
- const [title, message] = commits[0].message.split(COMMIT_HEADER_SEPARATOR);
+ const [title, message = ''] = commits[0].message.split(COMMIT_HEADER_SEPARATOR);
94
95
mergeOptions.commit_title = title;
96
mergeOptions.commit_message = message;
0 commit comments