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:
@@ -1,4 +1,7 @@
|
||||
{
|
||||
"parserOptions": {
|
||||
"project": "./extensions/import/tsconfig.json"
|
||||
},
|
||||
"rules": {
|
||||
// Disabled until the issues can be fixed
|
||||
"@typescript-eslint/explicit-function-return-type": ["off"]
|
||||
|
||||
@@ -37,12 +37,12 @@ export class ImportTestUtils {
|
||||
}
|
||||
|
||||
public static async getExtensionPath(): Promise<string> {
|
||||
return await vscode.extensions.getExtension('Microsoft.import').extensionPath;
|
||||
return vscode.extensions.getExtension('Microsoft.import').extensionPath;
|
||||
}
|
||||
|
||||
public static async getTestExtensionContext(): Promise<TestExtensionContext> {
|
||||
let testContext = new TestExtensionContext();
|
||||
testContext.extensionPath = await vscode.extensions.getExtension('Microsoft.import').extensionPath;
|
||||
testContext.extensionPath = vscode.extensions.getExtension('Microsoft.import').extensionPath;
|
||||
return testContext;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -137,7 +137,7 @@ export class ModifyColumnsPage extends ImportPage {
|
||||
}
|
||||
|
||||
override async onPageLeave(): Promise<boolean> {
|
||||
await this.emptyTable();
|
||||
this.emptyTable();
|
||||
this.instance.changeNextButtonLabel(constants.nextText);
|
||||
this.instance.registerNavigationValidator((info) => {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user