File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/typescript-reporter/reporter Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
import * as ts from 'typescript' ;
2
- import { normalize } from 'path' ;
2
+ import { normalize , dirname } from 'path' ;
3
3
import { TypeScriptConfigurationOverwrite } from '../TypeScriptConfigurationOverwrite' ;
4
4
import { Dependencies } from '../../reporter' ;
5
5
@@ -63,14 +63,14 @@ function getDependenciesFromTypeScriptConfiguration(
63
63
const parsedConfiguration = parseTypeScriptConfiguration (
64
64
typescript ,
65
65
configFile ,
66
- configFileContext ,
66
+ dirname ( configFile ) ,
67
67
{ } ,
68
68
parseConfigFileHost
69
69
) ;
70
70
const childDependencies = getDependenciesFromTypeScriptConfiguration (
71
71
typescript ,
72
72
parsedConfiguration ,
73
- configFileContext ,
73
+ dirname ( configFile ) ,
74
74
parseConfigFileHost ,
75
75
[ ...processedConfigFiles , configFile ]
76
76
) ;
You can’t perform that action at this time.
0 commit comments