Merge pull request #45 from mikepenz/feature/fix_uncategorized_log_message

Fix log message of uncategorized PR count
This commit is contained in:
Mike Penz
2020-10-18 15:53:25 +02:00
committed by GitHub
3 changed files with 3 additions and 3 deletions
Generated Vendored
+1 -1
View File
@@ -976,7 +976,7 @@ function buildChangelog(prs, config) {
for (const pr of uncategorized) { for (const pr of uncategorized) {
changelogUncategorized = `${changelogUncategorized + pr}\n`; changelogUncategorized = `${changelogUncategorized + pr}\n`;
} }
core.info(`✒️ Wrote ${changelogUncategorized.length} non categorized pull requests down`); core.info(`✒️ Wrote ${uncategorized.length} non categorized pull requests down`);
// fill template // fill template
let transformedChangelog = config.template || configuration_1.DefaultConfiguration.template; let transformedChangelog = config.template || configuration_1.DefaultConfiguration.template;
transformedChangelog = transformedChangelog.replace('${{CHANGELOG}}', changelog); transformedChangelog = transformedChangelog.replace('${{CHANGELOG}}', changelog);
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -85,7 +85,7 @@ export function buildChangelog(
changelogUncategorized = `${changelogUncategorized + pr}\n` changelogUncategorized = `${changelogUncategorized + pr}\n`
} }
core.info( core.info(
`✒️ Wrote ${changelogUncategorized.length} non categorized pull requests down` `✒️ Wrote ${uncategorized.length} non categorized pull requests down`
) )
// fill template // fill template