sfdc-generate-package
Advanced tools
Comparing version 2.2.4 to 2.3.0
@@ -26,3 +26,3 @@ const metadata = require('../../utils/metadata'); | ||
const objectName = Object.keys(aFile.content)[0]; | ||
if(this.metadata[this.child.name].requiredField === '' || (aFile.content[objectName].hasOwnProperty(this.metadata[this.child.name].requiredField))) { | ||
if(metadata[this.child.name].requiredField === '' || (aFile.content[objectName].hasOwnProperty(metadata[this.child.name].requiredField))) { | ||
struct[metadata[this.child.name].xmlName].push(aFile.name.replace(/\.[^/.]+$/,'')); | ||
@@ -29,0 +29,0 @@ } |
@@ -8,2 +8,8 @@ module.exports = { | ||
},*/ | ||
"customPermissions":{ | ||
"xmlName":"CustomPermission", | ||
"children":{ | ||
} | ||
}, | ||
"labels":{ | ||
@@ -10,0 +16,0 @@ "xmlName":"CustomLabels", |
{ | ||
"name": "sfdc-generate-package", | ||
"version": "2.2.4", | ||
"version": "2.3.0", | ||
"description": "generate package.xml from source", | ||
@@ -5,0 +5,0 @@ "keyword": [ |
21959
609