Fix bug in release script
This commit is contained in:
1 parent
4bc5ab4058
commit
06159aa254
1 file changed
+1
-1
@@ -18,7 +18,7 @@ const entries = fs
|
|||||||
.readdirSync(changelogUnreleasedDirectory, { withFileTypes: true })
|
.readdirSync(changelogUnreleasedDirectory, { withFileTypes: true })
|
||||||
.filter((entry) => entry.isDirectory())
|
.filter((entry) => entry.isDirectory())
|
||||||
.flatMap((dir) => {
|
.flatMap((dir) => {
|
||||||
const dirPath = path.join(dir.path, dir.name);
|
const dirPath = path.join(dir.parentPath, dir.name);
|
||||||
const { title } = categories.find((category) => category.dir === dir.name);
|
const { title } = categories.find((category) => category.dir === dir.name);
|
||||||
|
|
||||||
return getEntries(dirPath).map((entry) => {
|
return getEntries(dirPath).map((entry) => {
|
||||||
|
|||||||
Reference in new issue
Block a user