瀏覽代碼

otherremotes

master
pb 2 年之前
父節點
當前提交
18861c2529
共有 1 個檔案被更改,包括 4 行新增1 行删除
  1. 4
    1
      index.js

+ 4
- 1
index.js 查看文件

@@ -4141,7 +4141,10 @@ var getInteractionPoints = function(detectedinstanceoptions, possiblePrompts, pr
instances.push(instance)
instanceTypes.push(instance.node_env)
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)

Loading…
取消
儲存