Browse Source

Void unhandled promise.

Ian Rose 6 năm trước cách đây
mục cha
commit
6746f7d555
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;