Skip to content

Commit

Permalink
fix: remove empty metadata members from package manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
Codeneos committed Jun 24, 2024
1 parent 841c40c commit c04653d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/salesforce/src/deploy/packageXml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ export class PackageManifest {
} else {
Iterable.forEach(member, m => members.delete(m));
}

if (members.size === 0) {
this.metadataMembers.delete(type);
}
}

/**
Expand Down

0 comments on commit c04653d

Please sign in to comment.