mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
Add no-floating-promises rule to sql-database-projects extension (#16943)
* Add no-floating-promises rule to sql-database-projects extension * fix test
This commit is contained in:
@@ -139,9 +139,9 @@ export class AddDatabaseReferenceDialog {
|
||||
this.updateEnabledInputBoxes();
|
||||
|
||||
if (this.currentReferenceType === ReferenceType.project) {
|
||||
this.projectRadioButton?.focus();
|
||||
await this.projectRadioButton?.focus();
|
||||
} else {
|
||||
this.systemDatabaseRadioButton?.focus();
|
||||
await this.systemDatabaseRadioButton?.focus();
|
||||
}
|
||||
|
||||
this.initDialogComplete?.resolve();
|
||||
@@ -559,7 +559,7 @@ export class AddDatabaseReferenceDialog {
|
||||
}
|
||||
|
||||
this.exampleUsage!.value = newText;
|
||||
this.exampleUsage?.updateCssStyles({ 'font-style': fontStyle });
|
||||
void this.exampleUsage?.updateCssStyles({ 'font-style': fontStyle });
|
||||
}
|
||||
|
||||
private validSqlCmdVariables(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user