File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ namespace ts {
225
225
traceEnabled
226
226
} ;
227
227
228
- const typeRoots = getEffectiveTypeRoots ( options , host . getCurrentDirectory && host . getCurrentDirectory ( ) ) ;
228
+ const typeRoots = getEffectiveTypeRoots ( options , host ) ;
229
229
if ( traceEnabled ) {
230
230
if ( containingFile === undefined ) {
231
231
if ( typeRoots === undefined ) {
@@ -1086,7 +1086,7 @@ namespace ts {
1086
1086
// Walk the primary type lookup locations
1087
1087
const result : string [ ] = [ ] ;
1088
1088
if ( host . directoryExists && host . getDirectories ) {
1089
- const typeRoots = getEffectiveTypeRoots ( options , host . getCurrentDirectory && host . getCurrentDirectory ( ) ) ;
1089
+ const typeRoots = getEffectiveTypeRoots ( options , host ) ;
1090
1090
if ( typeRoots ) {
1091
1091
for ( const root of typeRoots ) {
1092
1092
if ( host . directoryExists ( root ) ) {
You can’t perform that action at this time.
0 commit comments