Skip to content

Commit

Permalink
fixed the issue with the deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
cjlapao committed Aug 12, 2024
1 parent 97e6b8a commit d827eda
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,12 @@ export async function activate(context: vscode.ExtensionContext) {
} catch (error) {
vscode.commands.executeCommand("setContext", FLAG_IS_PARALLELS_CATALOG_OFFLINE, true);
}

if (parallelsCatalogUrl) {
vscode.commands.executeCommand("setContext", FLAG_LICENSE, licenseInfo.edition);
vscode.commands.executeCommand("setContext", FLAG_SHOW_PARALLELS_CATALOG, true);
config.license_edition = licenseInfo.edition;
const parallelsCatalogProvider = new ParallelsCatalogProvider(context);
const virtualMachineProvider = new VirtualMachineProvider(context);
if (parallelsCatalogUrl) {
vscode.commands.executeCommand("setContext", FLAG_SHOW_PARALLELS_CATALOG, true);
const parallelsCatalogProvider = new ParallelsCatalogProvider(context);
if (licenseInfo.edition === "business" && licenseInfo.is_volume === "yes") {
config.parallelsCatalogProvider.rawHost = parallelsCatalogUrl;
config.parallelsCatalogProvider.username = businessUsername;
Expand Down

0 comments on commit d827eda

Please sign in to comment.