mirror of
https://github.com/hanzoai/prettier.git
synced 2026-09-24 17:02:04 +00:00
Fix bug in release script
This commit is contained in:
@@ -18,7 +18,7 @@ const entries = fs
|
||||
.readdirSync(changelogUnreleasedDirectory, { withFileTypes: true })
|
||||
.filter((entry) => entry.isDirectory())
|
||||
.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);
|
||||
|
||||
return getEntries(dirPath).map((entry) => {
|
||||
|
||||
Reference in New Issue
Block a user