From 142fe681a8c4e9c66b39216b17ca78fd601f74ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Wed, 9 Jun 2021 17:15:50 +0200 Subject: [PATCH] Update tools/doc/addon-verify.mjs Co-authored-by: Antoine du Hamel --- tools/doc/addon-verify.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/doc/addon-verify.mjs b/tools/doc/addon-verify.mjs index ee4d597693b8b3..52f89a07717d55 100644 --- a/tools/doc/addon-verify.mjs +++ b/tools/doc/addon-verify.mjs @@ -15,7 +15,7 @@ const rootDir = new URL('../../', import.meta.url); const doc = new URL('./doc/api/addons.md', rootDir); const verifyDir = new URL('./test/addons/', rootDir); -const file = toVFile.readSync(doc, 'utf8'); +const file = toVFile.readSync(fileURLToPath(doc), 'utf8'); const tree = unified().use(remarkParse).use(gfm).parse(file); const addons = {}; let id = 0;