فهرست منبع

Void unhandled promise.

Ian Rose 6 سال پیش
والد
کامیت
6746f7d555
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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;