File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -1412,16 +1412,12 @@ module ts {
1412
1412
useCaseSensitiveFileNames : ( ) => useCaseSensitivefilenames ,
1413
1413
getNewLine : ( ) => "\r\n" ,
1414
1414
getDefaultLibFilename : ( ) : string => {
1415
- // In the case there is no host (such as in fourslash test), return ""
1416
1415
return host . getDefaultLibFilename ( ) ;
1417
1416
} ,
1418
1417
writeFile : ( filename , data , writeByteOrderMark ) => {
1419
- if ( writer !== undefined ) {
1420
- writer ( filename , data , writeByteOrderMark ) ;
1421
- }
1418
+ writer ( filename , data , writeByteOrderMark ) ;
1422
1419
} ,
1423
1420
getCurrentDirectory : ( ) : string => {
1424
- // In the case there is no host (such as in fourslash test), return ""
1425
1421
return host . getCurrentDirectory ( ) ;
1426
1422
}
1427
1423
} ;
You can’t perform that action at this time.
0 commit comments