Skip to content

Commit 43bd575

Browse files
flakey5joyeecheung
andauthored
Update test/doctool/test-apilinks.mjs
Co-authored-by: Joyee Cheung <joyeec9h3@gmail.com>
1 parent 7a5e9e2 commit 43bd575

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/doctool/test-apilinks.mjs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,9 @@ fs.readdirSync(apilinks).forEach((fixture) => {
2222
fs.mkdirSync(outputPath);
2323

2424
execFileSync(
25-
'npx',
25+
process.execPath,
2626
[
27-
'--prefix',
28-
docToolingDir,
29-
'doc-kit',
27+
path.resolve(docToolingDir, 'node_modules', '.bin', 'doc-kit'),
3028
'generate',
3129
'-t',
3230
'api-links',

0 commit comments

Comments
 (0)