소스 검색

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;