Skip to content

Commit 3fe13d0

Browse files
authored
chore: Discover git-hashes in multi-line release notes (#6621)
1 parent 1cee5f1 commit 3fe13d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/add-changelog.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export async function embedCommitLinks(
4444
await Promise.all(
4545
lines.map(async line => {
4646
const match = line.match(SHORT_SHA_AT_LINE_END_RE);
47-
if (!match || !line.trimStart().startsWith('- [')) {
47+
if (!match) {
4848
return line;
4949
}
5050

0 commit comments

Comments
 (0)