| instances.push(instance) | instances.push(instance) | ||||
| instanceTypes.push(instance.node_env) | instanceTypes.push(instance.node_env) | ||||
| instanceNames.push(instance.instanceName) | instanceNames.push(instance.instanceName) | ||||
| Array.prototype.push.apply(remotes, Object.keys(instance.reposerverinstances[instance.reposerver].remotes)) | |||||
| var otherremotes = instance?.reposerverinstances | |||||
| if(otherremotes) otherremotes = otherremotes[instance?.reposerver]?.remotes | |||||
| otherremotes = otherremotes || {} | |||||
| Array.prototype.push.apply(remotes, Object.keys(otherremotes)) | |||||
| }) | }) | ||||
| }) | }) | ||||
| instances = instances.concat(detectedinstanceoptions) | instances = instances.concat(detectedinstanceoptions) |