Skip to content

Commit 72a74e1

Browse files
committed
Windows sucks
1 parent 212245e commit 72a74e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,13 +239,13 @@ export class TestClient<Configuration> {
239239
}
240240

241241
async writeDocument(uri: string, text: string) {
242+
const buildCompleted = this.buildCompleted();
243+
242244
const fullUri = resolveIri(uri, await this.workspaceFolder);
243245
const exists = await access(fullUri).then(() => true).catch(() => false);
244246

245247
await writeFile(fileURLToPath(fullUri), text, "utf-8");
246248

247-
const buildCompleted = this.buildCompleted();
248-
249249
if (this.watchEnabled) {
250250
await this.client.sendNotification(DidChangeWatchedFilesNotification.type, {
251251
changes: [{

0 commit comments

Comments
 (0)