From 0cae38f8aea03e72aef3a91bf19a15c9e63241a8 Mon Sep 17 00:00:00 2001 From: AzureDataStudio Date: Wed, 29 Apr 2020 19:32:06 -0700 Subject: [PATCH] ignore errors --- src/sql/workbench/browser/parts/views/treeView.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sql/workbench/browser/parts/views/treeView.ts b/src/sql/workbench/browser/parts/views/treeView.ts index aa73bbdc78..1a3694a258 100644 --- a/src/sql/workbench/browser/parts/views/treeView.ts +++ b/src/sql/workbench/browser/parts/views/treeView.ts @@ -192,6 +192,7 @@ export class TreeView extends Disposable implements ITreeView { this._register(this.themeService.onDidColorThemeChange(() => this.doRefresh([this.root]) /** soft refresh **/)); this._register(this.configurationService.onDidChangeConfiguration(e => { if (e.affectsConfiguration('explorer.decorations')) { + // eslint-ignore-next-line @typescript-eslint/no-floating-promises this.doRefresh([this.root]); /** soft refresh **/ } })); @@ -263,6 +264,7 @@ export class TreeView extends Disposable implements ITreeView { this._register(this._dataProvider.onDidChangeEmpty(() => this._onDidChangeWelcomeState.fire())); } this.updateMessage(); + // eslint-ignore-next-line @typescript-eslint/no-floating-promises this.refresh(); } else { this._dataProvider = undefined; @@ -386,6 +388,7 @@ export class TreeView extends Disposable implements ITreeView { } if (this.isVisible && this.elementsToRefresh.length) { + // eslint-ignore-next-line @typescript-eslint/no-floating-promises this.doRefresh(this.elementsToRefresh); this.elementsToRefresh = []; }