File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -249,15 +249,22 @@ export class TestClient {
249
249
}
250
250
251
251
async writeDocument ( uri : string , text : string , isIgnored = false ) {
252
+ console . log ( "a" ) ;
252
253
const fullUri = resolveIri ( uri , await this . workspaceFolder ) ;
254
+ console . log ( "b" ) ;
253
255
const exists = await access ( fullUri ) . then ( ( ) => true ) . catch ( ( ) => false ) ;
256
+ console . log ( "c" ) ;
254
257
255
258
await writeFile ( fileURLToPath ( fullUri ) , text , "utf-8" ) ;
259
+ console . log ( "d" ) ;
256
260
257
261
if ( ! isIgnored ) {
262
+ console . log ( "e" ) ;
258
263
const buildCompleted = this . buildCompleted ( ) ;
259
264
265
+ console . log ( "f" ) ;
260
266
if ( this . watchEnabled ) {
267
+ console . log ( "g" ) ;
261
268
await this . client . sendNotification ( DidChangeWatchedFilesNotification . type , {
262
269
changes : [ {
263
270
type : exists ? FileChangeType . Changed : FileChangeType . Created ,
@@ -266,9 +273,12 @@ export class TestClient {
266
273
} ) ;
267
274
}
268
275
276
+ console . log ( "h" ) ;
269
277
await buildCompleted ;
278
+ console . log ( "i" ) ;
270
279
}
271
280
281
+ console . log ( "j" ) ;
272
282
return fullUri ;
273
283
}
274
284
You can’t perform that action at this time.
0 commit comments