Add back common extension linting rules (#23271)

* Add back common extension linting rules

* Fix lint issues
This commit is contained in:
Charles Gagnon
2023-05-31 14:31:00 -07:00
committed by GitHub
parent 631461494f
commit 50e08e11df
22 changed files with 75 additions and 40 deletions

View File

@@ -124,7 +124,7 @@ export class MigrationDetailsTab extends MigrationDetailsTabBase<MigrationDetail
await this.statusBar.clearError();
if (initialize) {
await this._clearControlsValue();
this._clearControlsValue();
await utils.updateControlDisplay(this._fileTable, false);
await this._fileTable.updateProperty('columns', this._getTableColumns(this.model?.migration));
await this._showControls(this.model?.migration);

View File

@@ -247,7 +247,7 @@ export abstract class MigrationDetailsTabBase<T> extends TabBase<T> {
await this.statusBar.clearError();
if (canRetryMigration(this.model.migration)) {
const errorMessage = getMigrationErrors(this.model.migration);
await openRetryMigrationDialog(
openRetryMigrationDialog(
errorMessage,
async () => {
try {

View File

@@ -89,7 +89,7 @@ export class MigrationDetailsTableTab extends MigrationDetailsTabBase<MigrationD
this.refreshLoader.loading = true;
await this.statusBar.clearError();
if (initialize) {
await this._clearControlsValue();
this._clearControlsValue();
}
await this.model.fetchStatus();
await this._loadData();

View File

@@ -361,7 +361,7 @@ export class DashboardWidget {
const migration = await this._getMigrationById(args.migrationId, args.migrationOperationId);
if (service && migration && canRetryMigration(migration)) {
const errorMessage = getMigrationErrors(migration);
await openRetryMigrationDialog(
openRetryMigrationDialog(
errorMessage,
async () => {
try {

View File

@@ -1468,7 +1468,7 @@ export class DatabaseBackupPage extends MigrationWizardPage {
private async getSubscriptionValues(): Promise<void> {
this._networkShareContainerSubscription.value = this.migrationStateModel._targetSubscription.name;
this._networkShareContainerLocation.value = await this.migrationStateModel._location.displayName;
this._networkShareContainerLocation.value = this.migrationStateModel._location.displayName;
this._blobContainerSubscription.value = this.migrationStateModel._targetSubscription.name;
this._blobContainerLocation.value = this.migrationStateModel._location.displayName;