Skip to content

Commit

Permalink
shortening the check (#6523)
Browse files Browse the repository at this point in the history
  • Loading branch information
aiday-mar authored Dec 10, 2024
1 parent 79a7fcb commit 3c77350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lm/tools/displayIssuesTool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class DisplayIssuesTool extends ToolBase<DisplayIssuesParameters> {
case 'number':
return `[${issue[column]}](${issue.url})`;
case 'labels':
return issue[column]?.map((label) => label && label.name && label.color ? makeLabel({ name: label.name, color: label.color }) : '').join(', ');
return issue[column]?.map((label) => label?.name && label.color ? makeLabel({ name: label.name, color: label.color }) : '').join(', ');
case 'assignees':
return issue[column]?.map((assignee) => this.renderUser(assignee)).join(', ');
case 'author':
Expand Down

0 comments on commit 3c77350

Please sign in to comment.