@salesforce/packaging 1.4.1 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -332,7 +332,7 @@ class PackageVersionCreate {
332
332
  // Next generate profiles and retrieve any profiles that were excluded because they had no matching nodes.
333
333
  const excludedProfiles = this.options.profileApi.generateProfiles(packageVersProfileFolder, {
334
334
  Package: typesArr,
335
- }, [unpackagedMetadataPath]);
335
+ }, [hasUnpackagedMetadata ? unpackagedMetadataPath : null]);
336
336
  if (excludedProfiles.length > 0) {
337
337
  const profileIdx = typesArr.findIndex((e) => e.name[0] === 'Profile');
338
338
  typesArr[profileIdx].members = typesArr[profileIdx].members.filter((e) => !excludedProfiles.includes(e));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/packaging",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "Packaging library for the Salesforce packaging platform",
5
5
  "main": "lib/exported",
6
6
  "types": "lib/exported.d.ts",