Skip to content

Commit

Permalink
Update tools/doc/addon-verify.mjs
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine du Hamel <[email protected]>
  • Loading branch information
targos and aduh95 committed Jun 9, 2021
1 parent a89b030 commit 142fe68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/doc/addon-verify.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 142fe68

Please sign in to comment.