Authored by 姜枫

fix undefined bug

... ... @@ -26,6 +26,8 @@ module.exports = {
hosts = target;
}
hosts = hosts || [];
hosts.forEach((host) => {
if (!servers[host]) {
servers[host] = new Collect(host, p.name, p.cloud);
... ...