Prechádzať zdrojové kódy

Void unhandled promise.

Ian Rose 6 rokov pred
rodič
commit
6746f7d555
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      packages/filebrowser/src/model.ts

+ 1 - 1
packages/filebrowser/src/model.ts

@@ -586,7 +586,7 @@ export class FileBrowserModel implements IDisposable {
 
     // If either the old value or the new value is in the current path, update.
     if (value) {
-      this._poll.refresh();
+      void this._poll.refresh();
       this._populateSessions(sessions.running());
       this._fileChanged.emit(change);
       return;