@forge/manifest
9.1.0-next.09.1.0-next.1
out/validators/modules-validator.js~
out/validators/modules-validator.jsModified+6
Index: package/out/validators/modules-validator.js
===================================================================
--- package/out/validators/modules-validator.js
+++ package/out/validators/modules-validator.js
@@ -152,9 +152,15 @@
});
}
}
});
+ function isRemoteType(obj) {
+ return obj && typeof obj === 'object' && 'remote' in obj;
+ }
_endpoint?.forEach((endpoint) => {
+ if (!isRemoteType(endpoint)) {
+ return;
+ }
if (!_checkRemoteExists(endpoint.remote)) {
validationErrors.push({
message: text_1.errors.modules.endpoint.remote.notExists(endpoint.remote),
reference: text_1.References.Modules,