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.configurationService.onDidChangeConfiguration(e => {
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 **/
}
}));
@@ -264,7 +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
// eslint-disable-next-line @typescript-eslint/no-floating-promises
this.refresh();
} else {
this._dataProvider = undefined;
@@ -388,7 +388,7 @@ export class TreeView extends Disposable implements ITreeView {
}
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.elementsToRefresh = [];
}