Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix for ## vs ###
  • Loading branch information
SimonFischer04 committed Nov 12, 2023
commit d39748884bf33dcd96b940e1d89e9434cd3e44cb
2 changes: 1 addition & 1 deletion packages/plugin-changelog/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ class ChangelogPlugin implements Plugin {
if(context.argv.additionalChangelog) {
let currentChangelogsIndex = entries.findIndex((e) => getPlaceholderRegex().test(e));
if (currentChangelogsIndex == -1) {
entries.unshift('## **WORK IN PROGRESS**');
entries.unshift(changelogPlaceholder);
currentChangelogsIndex = 0
}
entries[currentChangelogsIndex] += `\n${context.argv.additionalChangelog}`;
Expand Down