Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

Bug: Packages in mono repo getting installed #533

Merged
merged 3 commits into from
Jun 22, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/commands/sfpowerkit/package/dependencies/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { SfdxProject } from "@salesforce/core";
import { loadSFDX } from "../../../../sfdxnode/GetNodeWrapper";
import { sfdx } from "../../../..//sfdxnode/parallel";
import { SFPowerkit, LoggerLevel } from "../../../../sfpowerkit";
import { isNullOrUndefined } from "util";
import { get18DigitSalesforceId } from "./../../../../utils/get18DigitSalesforceId";
let retry = require("async-retry");

Expand Down Expand Up @@ -152,8 +151,7 @@ export default class Install extends SfdxCommand {
);
}

if (isNullOrUndefined(installedpackages) || installedpackages.length == 0) {
this.flags.updateall = true;
if (!installedpackages || installedpackages.length == 0) {
installedpackages = [];
}

Expand Down