multicloud_rule_manager 1.1.52 → 1.1.54
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.
|
@@ -9,7 +9,7 @@ export default {
|
|
|
9
9
|
},
|
|
10
10
|
handler: async (argv) => {
|
|
11
11
|
function buildMapObject(children) {
|
|
12
|
-
if (!Array.isArray(children) || children.length === 0
|
|
12
|
+
if (!Array.isArray(children) || children.length === 0) return [];
|
|
13
13
|
|
|
14
14
|
return children
|
|
15
15
|
.map(child => {
|
|
@@ -124,8 +124,14 @@ export default {
|
|
|
124
124
|
// Per ogni record genera file SOLO se dsl_internal esiste
|
|
125
125
|
for (const record of data) {
|
|
126
126
|
|
|
127
|
-
|
|
128
|
-
|
|
127
|
+
const skipNames = new Set([
|
|
128
|
+
"GenericItem2OrderItem",
|
|
129
|
+
"PriceListItem",
|
|
130
|
+
"PriceList"
|
|
131
|
+
]);
|
|
132
|
+
|
|
133
|
+
if (!record.name || !record.guid || skipNames.has(record.name)) {
|
|
134
|
+
console.warn("⚠️ Record saltato:", record.name);
|
|
129
135
|
continue;
|
|
130
136
|
}
|
|
131
137
|
|