Fix lint-changelog script (#17136)

This commit is contained in:
fisker Cheung authored and GitHub committed 2025-02-17 07:44:10 +08:00
1 parent 71b8a24e7f
commit 2bbd5e7044
1 file changed
+1 -1
+1 -1
View File
@@ -82,7 +82,7 @@ for (const category of CHANGELOG_CATEGORIES) {
}
checkedFiles.set(prFile, displayPath);
const content = fs.readFileSync(
new URL(`${category}/${prFile}`, CHANGELOG_DIR),
new URL(`${category}/${prFile}`, CHANGELOG_ROOT),
"utf8",
);