Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
mosuem committed Jun 23, 2023
1 parent 3adca0d commit 115f638
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/firehose/lib/firehose.dart
Original file line number Diff line number Diff line change
Expand Up @@ -391,12 +391,12 @@ ${filePaths.map((e) => '|$e|').join('\n')}
if (filePaths.isNotEmpty) {
if (Repository().isSinglePackageRepo) {
markdownResult = '''
Changes to the files ${filePaths.values.first} need to be accounted for in the changelog''';
Changes to the files ${filePaths.values.first.map((e) => path.relative(e, from: Directory.current.path)).join(', ')} need to be accounted for in the changelog''';
} else {
markdownResult = '''
Changes to the files in need to be accounted for in the changelog:
${filePaths.entries.map((e) => '${e.key}: ${e.value}').join('\n')}
${filePaths.entries.map((e) => '${e.key.name}: ${e.value.map((e) => path.relative(e, from: Directory.current.path)).join(', ')}').join('\n')}
''';
}
} else {
Expand All @@ -412,7 +412,7 @@ ${filePaths.entries.map((e) => '${e.key}: ${e.value}').join('\n')}
github.repoSlug!,
github.issueNumber!,
user: _githubActionsUser,
searchTerm: _licenseBotTag,
searchTerm: _changelogBotTag,
),
logError: print,
);
Expand Down

0 comments on commit 115f638

Please sign in to comment.