Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit 72ba17d

Browse files
authored
Merge branch 'main' into develop
2 parents 24cbddc + ee2790a commit 72ba17d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

scripts/utils/changesets.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ async function readAllChangesets(options = {}) {
8989
const content = await fs.readFile(filePath, 'utf8');
9090

9191
// Parse the changeset content
92-
const changeset = parseChangesetContent(content);
92+
const changeset = parseChangeset(content);
9393

9494
// Add the filename to the changeset
9595
changeset.filename = file;
@@ -109,7 +109,7 @@ async function readAllChangesets(options = {}) {
109109
);
110110
}
111111

112-
// Otherwise, filter by the specified branch
112+
// Otherwise, use the original filtering logic
113113
return changesets.filter(changeset =>
114114
!changeset.branch || // Include changesets without branch info
115115
changeset.branch === branch
@@ -296,5 +296,6 @@ module.exports = {
296296
determineBumpType,
297297
categorizeChangesets,
298298
createChangeset,
299-
deleteAllChangesets
299+
deleteAllChangesets,
300+
parseChangesetContent
300301
};

0 commit comments

Comments
 (0)