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 conflict resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
azlam-abdulsalam committed Nov 24, 2023
1 parent 2ddda44 commit e596a54
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,14 @@ export default class PicklistEnabler implements DeploymentCustomizer {

let picklistInOrg = await this.getPicklistInOrg(urlId, sfpOrg.getConnection());

if (!picklistInOrg?.Metadata?.valueSet?.valueSetDefinition)
SFPLogger.log(
//check for empty picklists on org and fix first deployment issue
if (!picklistInOrg?.Metadata?.valueSet?.valueSetDefinition) {
SFPLogger.log(
`Picklist field ${objName}.${picklistName} not in target Org. Skipping`,
LoggerLevel.TRACE,
logger
);
continue;
continue;
}


Expand Down

0 comments on commit e596a54

Please sign in to comment.