wrong eslint command

This commit is contained in:
AzureDataStudio
2020-04-29 19:45:35 -07:00
parent 0cae38f8ae
commit 2a71032284

View File

@@ -192,7 +192,7 @@ export class TreeView extends Disposable implements ITreeView {
this._register(this.themeService.onDidColorThemeChange(() => this.doRefresh([this.root]) /** soft refresh **/)); this._register(this.themeService.onDidColorThemeChange(() => this.doRefresh([this.root]) /** soft refresh **/));
this._register(this.configurationService.onDidChangeConfiguration(e => { this._register(this.configurationService.onDidChangeConfiguration(e => {
if (e.affectsConfiguration('explorer.decorations')) { if (e.affectsConfiguration('explorer.decorations')) {
// eslint-ignore-next-line @typescript-eslint/no-floating-promises // eslint-disable-next-line @typescript-eslint/no-floating-promises
this.doRefresh([this.root]); /** soft refresh **/ this.doRefresh([this.root]); /** soft refresh **/
} }
})); }));
@@ -264,7 +264,7 @@ export class TreeView extends Disposable implements ITreeView {
this._register(this._dataProvider.onDidChangeEmpty(() => this._onDidChangeWelcomeState.fire())); this._register(this._dataProvider.onDidChangeEmpty(() => this._onDidChangeWelcomeState.fire()));
} }
this.updateMessage(); this.updateMessage();
// eslint-ignore-next-line @typescript-eslint/no-floating-promises // eslint-disable-next-line @typescript-eslint/no-floating-promises
this.refresh(); this.refresh();
} else { } else {
this._dataProvider = undefined; this._dataProvider = undefined;
@@ -388,7 +388,7 @@ export class TreeView extends Disposable implements ITreeView {
} }
if (this.isVisible && this.elementsToRefresh.length) { if (this.isVisible && this.elementsToRefresh.length) {
// eslint-ignore-next-line @typescript-eslint/no-floating-promises // eslint-disable-next-line @typescript-eslint/no-floating-promises
this.doRefresh(this.elementsToRefresh); this.doRefresh(this.elementsToRefresh);
this.elementsToRefresh = []; this.elementsToRefresh = [];
} }