Browse Source

otherremotes

pull/9/head
pb 2 years ago
parent
commit
18861c2529
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      index.js

+ 4
- 1
index.js View File

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)

Loading…
Cancel
Save