Skip to content

Commit

Permalink
fix join statement
Browse files Browse the repository at this point in the history
  • Loading branch information
kreddlear committed Aug 10, 2023
1 parent 9f873ba commit a1fdd9f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/cli/src/oclif/commands/promote.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ ${metadataPromptHelper}`);
if (appFeatureUpdates || issueFeatureUpdates) {
this.log(
`Feature updates: ${[
...appFeatureUpdates,
...issueFeatureUpdates,
...(appFeatureUpdates ?? []),
...(issueFeatureUpdates ?? []),
].join(', ')}`
);
}
Expand All @@ -114,7 +114,11 @@ ${metadataPromptHelper}`);
.map(({ issue_id }) => `#${issue_id}`);

if (appBugfixes || issueBugfixes) {
this.log(`Bug fixes: ${[...appBugfixes, issueBugfixes].join(', ')}`);
this.log(
`Bug fixes: ${[...(appBugfixes ?? []), ...(issueBugfixes ?? [])].join(
', '
)}`
);
}

if (
Expand Down

0 comments on commit a1fdd9f

Please sign in to comment.