File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ namespace ts.projectSystem {
122122 return JSON . stringify ( { dependencies : dependencies } ) ;
123123 }
124124
125- export function getExecutingFilePathFromLibFile ( _libFilePath : string ) : string {
125+ export function getExecutingFilePathFromLibFile ( ) : string {
126126 return combinePaths ( getDirectoryPath ( libFile . path ) , "tsc.js" ) ;
127127 }
128128
@@ -154,16 +154,13 @@ namespace ts.projectSystem {
154154 currentDirectory ?: string ;
155155 }
156156
157- export function createServerHost ( fileOrFolderList : FileOrFolder [ ] ,
158- params ?: TestServerHostCreationParameters ,
159- libFilePath : string = libFile . path ) : TestServerHost {
160-
157+ export function createServerHost ( fileOrFolderList : FileOrFolder [ ] , params ?: TestServerHostCreationParameters ) : TestServerHost {
161158 if ( ! params ) {
162159 params = { } ;
163160 }
164161 const host = new TestServerHost (
165162 params . useCaseSensitiveFileNames !== undefined ? params . useCaseSensitiveFileNames : false ,
166- params . executingFilePath || getExecutingFilePathFromLibFile ( libFilePath ) ,
163+ params . executingFilePath || getExecutingFilePathFromLibFile ( ) ,
167164 params . currentDirectory || "/" ,
168165 fileOrFolderList ) ;
169166 host . createFileOrFolder ( safeList , /*createParentDirectory*/ true ) ;
You can’t perform that action at this time.
0 commit comments