Skip to content

Commit

Permalink
Update dist to include built file
Browse files Browse the repository at this point in the history
  • Loading branch information
jondricek committed Dec 31, 2024
1 parent 9e518c1 commit 35c4b2f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50332,7 +50332,12 @@ function extractChangeItems({ version }) {

visit(tree, 'heading', (node, index, parent) => {
const [text] = node.children;
if (text?.type === 'text' && text.value === version && parent && index !== undefined) {
if (
text?.type === 'text' &&
text.value.startsWith(version) &&
parent &&
index !== undefined
) {
const nextSibling = parent.children[index + 1];
if (nextSibling?.type === 'list') {
list = nextSibling;
Expand Down

0 comments on commit 35c4b2f

Please sign in to comment.