Skip to content

Commit 87e9506

Browse files
committed
Update harness getDirectories implementation for shims
1 parent 028e202 commit 87e9506

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/harness/harnessLanguageService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ namespace Harness.LanguageService {
274274
getCompilationSettings(): string { return JSON.stringify(this.nativeHost.getCompilationSettings()); }
275275
getCancellationToken(): ts.HostCancellationToken { return this.nativeHost.getCancellationToken(); }
276276
getCurrentDirectory(): string { return this.nativeHost.getCurrentDirectory(); }
277-
getDirectories(path: string) { return this.nativeHost.getDirectories(path); }
277+
getDirectories(path: string): string { return JSON.stringify(this.nativeHost.getDirectories(path)); }
278278
getDefaultLibFileName(): string { return this.nativeHost.getDefaultLibFileName(); }
279279
getScriptFileNames(): string { return JSON.stringify(this.nativeHost.getScriptFileNames()); }
280280
getScriptSnapshot(fileName: string): ts.ScriptSnapshotShim {

0 commit comments

Comments
 (0)