Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Commit

Permalink
fix(picklist): fix incorrect check for picklist if missing in org
Browse files Browse the repository at this point in the history
fixes the incorrect conditional when a picklist is not available in org

fixes #1414
  • Loading branch information
azlam-abdulsalam committed Oct 13, 2023
1 parent f28b47f commit b26566c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default class PicklistEnabler implements DeploymentCustomizer {
let picklistInOrg = await this.getPicklistInOrg(urlId, sfpOrg.getConnection());

//check for empty picklists on org and fix first deployment issue
if (!picklistInOrg && picklistInOrg?.Metadata?.valueSetc?.valueSetDefinition) continue;
if (!picklistInOrg && picklistInOrg?.Metadata?.valueSet?.valueSetDefinition) continue;

let picklistValueInOrg = [];

Expand Down

0 comments on commit b26566c

Please sign in to comment.