Skip to content

Commit b8cb723

Browse files
committed
Fix me
1 parent 96baa18 commit b8cb723

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,15 +249,22 @@ export class TestClient {
249249
}
250250

251251
async writeDocument(uri: string, text: string, isIgnored = false) {
252+
console.log("a");
252253
const fullUri = resolveIri(uri, await this.workspaceFolder);
254+
console.log("b");
253255
const exists = await access(fullUri).then(() => true).catch(() => false);
256+
console.log("c");
254257

255258
await writeFile(fileURLToPath(fullUri), text, "utf-8");
259+
console.log("d");
256260

257261
if (!isIgnored) {
262+
console.log("e");
258263
const buildCompleted = this.buildCompleted();
259264

265+
console.log("f");
260266
if (this.watchEnabled) {
267+
console.log("g");
261268
await this.client.sendNotification(DidChangeWatchedFilesNotification.type, {
262269
changes: [{
263270
type: exists ? FileChangeType.Changed : FileChangeType.Created,
@@ -266,9 +273,12 @@ export class TestClient {
266273
});
267274
}
268275

276+
console.log("h");
269277
await buildCompleted;
278+
console.log("i");
270279
}
271280

281+
console.log("j");
272282
return fullUri;
273283
}
274284

0 commit comments

Comments
 (0)