Skip to content

Commit e86eee7

Browse files
authored
refactor(CHANGELOG): code style for version bump entries (#5122)
Prettier would transform this from `*version bump*` to `_version bump_` anyhow, so we could define it in the "correct" format from the very beginning.
1 parent 4826455 commit e86eee7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/github/changesets/version-bump.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function ensureChangelogHasContent() {
3232
const insertPos = fileHeaderMatch.index + fileHeaderMatch[0].length;
3333
const newContent =
3434
content.slice(0, insertPos) +
35-
'\n\n*version bump*\n' +
35+
'\n\n_version bump_\n' +
3636
content.slice(insertPos);
3737
fs.writeFileSync(file, newContent, 'utf8');
3838
}

0 commit comments

Comments
 (0)