mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-21 01:25:37 -05:00
Add back common extension linting rules (#23271)
* Add back common extension linting rules * Fix lint issues
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user