Skip to content

Commit 31148cd

Browse files
authored
cosmetic update to the triager's comment format (#273)
1 parent 8ada2ee commit 31148cd

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

pkgs/sdk_triage_bot/lib/triage.dart

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,7 @@ Future<void> triage(
100100
logger.log('');
101101
logger.log(summary);
102102

103-
var comment = '';
104-
if (classification.isNotEmpty) {
105-
comment += '**Labels:** ';
106-
comment += classification.map((l) => '`$l`').join(', ');
107-
comment += '\n';
108-
}
109-
comment += '**Summary:** $summary\n';
103+
final comment = '**Summary:** $summary\n';
110104

111105
// create github comment
112106
await githubService.createComment(sdkSlug, issueNumber, comment);

0 commit comments

Comments
 (0)