File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ import { promises as fs } from 'fs';
6
6
7
7
import { dirname , join } from 'path' ;
8
8
9
+ import { fileURLToPath } from 'url' ;
10
+
9
11
import { globby } from 'globby' ;
10
12
11
13
import updateNotifier from 'update-notifier' ;
@@ -19,8 +21,7 @@ import doxdox, {
19
21
getRootDirPath ,
20
22
loadPlugin ,
21
23
parseConfigFromCLI ,
22
- parseIgnoreConfig ,
23
- sanitizePath
24
+ parseIgnoreConfig
24
25
} from 'doxdox-core' ;
25
26
26
27
import { Doc , File } from 'doxdox-core' ;
@@ -113,7 +114,7 @@ const overridePackage = String(
113
114
const cliConfig = parseConfigFromCLI ( args . raw ) ;
114
115
115
116
const nodeModulesDir = await findParentNodeModules (
116
- dirname ( sanitizePath ( import . meta. url ) )
117
+ dirname ( fileURLToPath ( import . meta. url ) )
117
118
) ;
118
119
119
120
if ( ! nodeModulesDir ) {
You can’t perform that action at this time.
0 commit comments