Skip to content

Commit fe716e8

Browse files
committed
Windows sucks
1 parent 37fbd35 commit fe716e8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

language-server/src/test/test-client.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -244,18 +244,18 @@ export class TestClient<Configuration> {
244244

245245
await writeFile(fileURLToPath(fullUri), text, "utf-8");
246246

247-
const buildCompleted = this.buildCompleted();
248-
249247
if (this.watchEnabled) {
248+
const buildCompleted = this.buildCompleted();
249+
250250
await this.client.sendNotification(DidChangeWatchedFilesNotification.type, {
251251
changes: [{
252252
type: exists ? FileChangeType.Changed : FileChangeType.Created,
253253
uri: fullUri
254254
}]
255255
});
256-
}
257256

258-
await buildCompleted;
257+
await buildCompleted;
258+
}
259259

260260
return fullUri;
261261
}

0 commit comments

Comments
 (0)