mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Remove unnecessary awaits from extensions (#19571)
* Remove unnecessary awaits * fix ignore * revert eslintignore * try * increase size * Increase sql lint size
This commit is contained in:
@@ -66,7 +66,7 @@ export class AzureResourceFilterComponent extends ModelViewBase implements IData
|
||||
});
|
||||
this._workspaces.onValueChanged(async (newValue) => {
|
||||
if (newValue.selected !== (<azdata.CategoryValue>this._workspaces.value)?.name) {
|
||||
await this.onWorkspaceSelectedChanged();
|
||||
this.onWorkspaceSelectedChanged();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@ export class ImportModelWizard extends ModelViewBase {
|
||||
|
||||
return true;
|
||||
} catch (error) {
|
||||
await this.showErrorMessage(`${constants.modelFailedToRegister} ${constants.getErrorMessage(error)}`);
|
||||
this.showErrorMessage(`${constants.modelFailedToRegister} ${constants.getErrorMessage(error)}`);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -217,7 +217,7 @@ export abstract class ModelViewBase extends ViewBase {
|
||||
* Stores the name of the table as recent config table for importing models
|
||||
*/
|
||||
public async storeImportConfigTable(): Promise<void> {
|
||||
await this.sendRequest(StoreImportTableEventName, this.importTable);
|
||||
this.sendRequest(StoreImportTableEventName, this.importTable);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user