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 {
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
You can’t perform that action at this time.
0 commit comments