corebasic 1.0.208 → 1.0.209
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.
- package/libs/elabase.js +1 -1
- package/package.json +1 -1
package/libs/elabase.js
CHANGED
|
@@ -97,7 +97,7 @@ export const customMeta = (company, outlet, args) => {
|
|
|
97
97
|
throw new Error("Error: Invalid outlet provided in Dip.customMeta()")
|
|
98
98
|
|
|
99
99
|
if (!company || (typeof company === "string" && company.trim() === "") || company === "GLOBAL" || (Array.isArray(company) && (!company.length || company.some(item => typeof item !== "string" || item.trim() === "" || item === "GLOBAL")) ))
|
|
100
|
-
throw new Error("Error: Invalid company provided in Dip.customMeta()"
|
|
100
|
+
throw new Error("Error: Invalid company provided in Dip.customMeta()")
|
|
101
101
|
if (!outlet || (typeof outlet === "string" && outlet.trim() === "") || outlet === "GLOBAL" || (Array.isArray(outlet) && (!outlet.length || outlet.some(item => typeof item !== "string" || item.trim() === "" || item === "GLOBAL")) ))
|
|
102
102
|
throw new Error("Error: Invalid outlet provided in Dip.customMeta()")
|
|
103
103
|
|