Skip to content

Commit 142fe68

Browse files
targosaduh95
andauthored
Update tools/doc/addon-verify.mjs
Co-authored-by: Antoine du Hamel <[email protected]>
1 parent a89b030 commit 142fe68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/doc/addon-verify.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const rootDir = new URL('../../', import.meta.url);
1515
const doc = new URL('./doc/api/addons.md', rootDir);
1616
const verifyDir = new URL('./test/addons/', rootDir);
1717

18-
const file = toVFile.readSync(doc, 'utf8');
18+
const file = toVFile.readSync(fileURLToPath(doc), 'utf8');
1919
const tree = unified().use(remarkParse).use(gfm).parse(file);
2020
const addons = {};
2121
let id = 0;

0 commit comments

Comments
 (0)