Skip to content

Commit

Permalink
Forgot child
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwDayDream committed Jun 14, 2024
1 parent e814718 commit f88d522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/auto-pr-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ jobs:
potentialHead.children.push(potentialEntry);
}
} else {
const potentialEntryIdx = potentialHead.findIndex(item => typeof(item) == typeof('') && item == potentialEntry);
const potentialEntryIdx = potentialHead.children.findIndex(item => typeof(item) == typeof('') && item == potentialEntry);
if (potentialEntryIdx >= 0) {
potentialHead.children.splice(potentialEntryidx, 1)
}
Expand Down

0 comments on commit f88d522

Please sign in to comment.