mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Remove arc deployment extension check (#12598)
This commit is contained in:
@@ -55,8 +55,6 @@ export async function activate(context: vscode.ExtensionContext): Promise<arc.IE
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
await checkArcDeploymentExtension();
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
getRegisteredDataControllers: async () => (await treeDataProvider.getChildren())
|
getRegisteredDataControllers: async () => (await treeDataProvider.getChildren())
|
||||||
.filter(node => node instanceof ControllerTreeNode)
|
.filter(node => node instanceof ControllerTreeNode)
|
||||||
@@ -82,14 +80,3 @@ export async function activate(context: vscode.ExtensionContext): Promise<arc.IE
|
|||||||
|
|
||||||
export function deactivate(): void {
|
export function deactivate(): void {
|
||||||
}
|
}
|
||||||
|
|
||||||
async function checkArcDeploymentExtension(): Promise<void> {
|
|
||||||
const version = vscode.extensions.getExtension('Microsoft.arcdeployment')?.packageJSON.version;
|
|
||||||
if (version && version !== '0.3.2') {
|
|
||||||
// If we have an older version of the deployment extension installed then uninstall it now since it's replaced
|
|
||||||
// by this extension. (the latest version of the Arc Deployment extension will uninstall itself so don't do
|
|
||||||
// anything here if that's already updated)
|
|
||||||
await vscode.commands.executeCommand('workbench.extensions.uninstallExtension', 'Microsoft.arcdeployment');
|
|
||||||
vscode.window.showInformationMessage(loc.arcDeploymentDeprecation);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user