Skip to content

Commit ed32658

Browse files
CoderrobCopilot
andauthored
Update src/commands/task-management/complete-task.command.ts
Co-authored-by: Copilot <[email protected]>
1 parent e8e3549 commit ed32658

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/commands/task-management/complete-task.command.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ export class CompleteTaskCommand implements ICommand {
4747
return Promise.reject(message);
4848
}
4949

50-
const summary = options.message ?? task.title;
51-
const changelogEntry = `${task.id}${task.title}${summary}`;
50+
const summary = options.message ?? task.title ?? '';
51+
const changelogEntry = `${task.id}${task.title ?? ''}${summary}`;
5252

5353
// Handle dry run
5454
if (options.dryRun === true) {

0 commit comments

Comments
 (0)