Skip to content

Commit

Permalink
fix(projectconfig): incorrect use of package.name while filtering pro…
Browse files Browse the repository at this point in the history
…ject config

project config filtering was incorrectly returning packages due to an incorrect predicate
  • Loading branch information
sfopsbot committed Jan 8, 2024
1 parent 75d72bd commit 256c6bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sfp-cli/src/core/project/ProjectConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export default class ProjectConfig {
let originalPackageDirectory = projectConfig['packageDirectories'];
for (let pkg of originalPackageDirectory) {
for (const sfdxPackage of sfdxPackages) {
if (pkg.name == sfdxPackage) {
if (pkg.package == sfdxPackage) {
pkg.default = false;
revisedPackageDirectory.push(pkg);
}
Expand Down

0 comments on commit 256c6bb

Please sign in to comment.