mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-22 09:35:37 -05:00
SKU recommendation page work (#12050)
This commit is contained in:
@@ -43,7 +43,10 @@ export class MigrationStateModel implements Model, vscode.Disposable {
|
||||
private _gatheringInformationError: string | undefined;
|
||||
private _skuRecommendations: SKURecommendations | undefined;
|
||||
|
||||
constructor(private readonly _sourceConnection: azdata.connection.Connection) {
|
||||
constructor(
|
||||
private readonly _extensionContext: vscode.ExtensionContext,
|
||||
private readonly _sourceConnection: azdata.connection.Connection
|
||||
) {
|
||||
this._currentState = State.INIT;
|
||||
}
|
||||
|
||||
@@ -86,4 +89,8 @@ export class MigrationStateModel implements Model, vscode.Disposable {
|
||||
dispose() {
|
||||
this._stateChangeEventEmitter.dispose();
|
||||
}
|
||||
|
||||
public getExtensionPath(): string {
|
||||
return this._extensionContext.extensionPath;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user