Skip to content

Commit 7a11453

Browse files
committed
Fix merge issues
1 parent 1c3689e commit 7a11453

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/server/editorServices.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,12 +254,12 @@ namespace ts.server {
254254
private readonly directoryWatchers: DirectoryWatchers;
255255
private readonly throttledOperations: ThrottledOperations;
256256

257+
private readonly hostConfiguration: HostConfiguration;
258+
257259
private changedFiles: ScriptInfo[];
258260

259261
readonly toCanonicalFileName: (f: string) => string;
260262

261-
public readonly hostConfiguration: HostConfiguration;
262-
263263
public lastDeletedFile: ScriptInfo;
264264

265265
constructor(public readonly host: ServerHost,

src/server/project.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,9 @@ namespace ts.server {
296296
}
297297

298298
enableLanguageService() {
299+
if (this.languageServiceEnabled) {
300+
return;
301+
}
299302
this.languageServiceEnabled = true;
300303
this.projectService.onUpdateLanguageServiceStateForProject(this, /*languageServiceEnabled*/ true);
301304
}

0 commit comments

Comments
 (0)