Skip to content

Commit

Permalink
cosmetic update to the triager's comment format
Browse files Browse the repository at this point in the history
  • Loading branch information
devoncarew committed Jun 19, 2024
1 parent 8ada2ee commit 0792a5f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions pkgs/sdk_triage_bot/lib/triage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,7 @@ Future<void> triage(
logger.log('');
logger.log(summary);

var comment = '';
if (classification.isNotEmpty) {
comment += '**Labels:** ';
comment += classification.map((l) => '`$l`').join(', ');
comment += '\n';
}
comment += '**Summary:** $summary\n';
final comment = '**Summary:** $summary\n';

// create github comment
await githubService.createComment(sdkSlug, issueNumber, comment);
Expand Down

0 comments on commit 0792a5f

Please sign in to comment.