File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/doxdox-parser-jsdoc/src Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 11import { promises as fs } from 'fs' ;
22
3+ import { fileURLToPath } from 'url' ;
4+
35import { platform } from 'os' ;
46
57import { dirname , join } from 'path' ;
@@ -8,15 +10,15 @@ import spawn from 'spawn-please';
810
911import temp from 'temp' ;
1012
11- import { findParentNodeModules , sanitizePath , slugify } from 'doxdox-core' ;
13+ import { findParentNodeModules , slugify } from 'doxdox-core' ;
1214
1315import { File , Method } from 'doxdox-core' ;
1416
1517import { Jsdoc } from './types' ;
1618
1719const parser = async ( cwd : string , path : string ) : Promise < File > => {
1820 try {
19- const parserDir = dirname ( sanitizePath ( import . meta. url ) ) ;
21+ const parserDir = dirname ( fileURLToPath ( import . meta. url ) ) ;
2022
2123 const nodeModulesDir = await findParentNodeModules ( parserDir ) ;
2224
You can’t perform that action at this time.
0 commit comments