@salesforce/packaging 2.2.7 → 2.2.8
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.
|
@@ -124,7 +124,7 @@ class PackageProfileApi extends kit_1.AsyncCreatable {
|
|
|
124
124
|
const idx = this.nodeEntities.name.indexOf(name[0]);
|
|
125
125
|
if (idx > -1) {
|
|
126
126
|
hasNodes =
|
|
127
|
-
this.copyNodes(profileDom, this.nodeEntities.parentElement[idx], this.nodeEntities.childElement[idx], members, profileNode, profileName)
|
|
127
|
+
this.copyNodes(profileDom, this.nodeEntities.parentElement[idx], this.nodeEntities.childElement[idx], members, profileNode, profileName) || hasNodes;
|
|
128
128
|
}
|
|
129
129
|
});
|
|
130
130
|
// Go through each of the other profile settings we might want to include. We pass in "all" the members since these
|
|
@@ -134,7 +134,7 @@ class PackageProfileApi extends kit_1.AsyncCreatable {
|
|
|
134
134
|
const idx = this.otherProfileSettings.name.indexOf(element);
|
|
135
135
|
if (idx > -1) {
|
|
136
136
|
hasNodes =
|
|
137
|
-
this.copyNodes(profileDom, this.otherProfileSettings.parentElement[idx], this.otherProfileSettings.childElement[idx], allMembers, profileNode, profileName)
|
|
137
|
+
this.copyNodes(profileDom, this.otherProfileSettings.parentElement[idx], this.otherProfileSettings.childElement[idx], allMembers, profileNode, profileName) || hasNodes;
|
|
138
138
|
}
|
|
139
139
|
});
|
|
140
140
|
// add userLicenses to the profile
|