Skip to content

Commit 92ba2d0

Browse files
committed
rename
1 parent 0b92f3d commit 92ba2d0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/harness/harnessLanguageService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ function createLanguageServiceVfs(): vfs.FileSystem {
135135

136136
const sharedLibDocumentRegistry = ts.createDocumentRegistry(/*useCaseSensitiveFileNames*/ false, virtualFileSystemRoot);
137137

138-
function createSelectiveDocumentRegistry(): ts.DocumentRegistry {
138+
function createLibSharingDocumentRegistry(): ts.DocumentRegistry {
139139
const localRegistry = ts.createDocumentRegistry(/*useCaseSensitiveFileNames*/ false, virtualFileSystemRoot);
140140

141141
const enableLibAstCaching = true;
@@ -429,7 +429,7 @@ export class NativeLanguageServiceAdapter implements LanguageServiceAdapter {
429429
getLogger: typeof ts.returnUndefined = ts.returnUndefined;
430430
constructor(cancellationToken?: ts.HostCancellationToken, options?: ts.CompilerOptions) {
431431
this.host = new NativeLanguageServiceHost(cancellationToken, options);
432-
this.documentRegistry = createSelectiveDocumentRegistry();
432+
this.documentRegistry = createLibSharingDocumentRegistry();
433433
}
434434
getHost(): LanguageServiceAdapterHost {
435435
return this.host;

0 commit comments

Comments
 (0)