leave servernames and ports as arrays

This commit is contained in:
AJ ONeal 2018-06-14 15:30:19 -06:00
parent f32e9e7020
commit 2ffdc760a3
1 changed files with 2 additions and 2 deletions

View File

@ -284,7 +284,7 @@ function askForConfig(answers, mainCb) {
resp = (resp || '').trim().split(/,/g);
if (!resp.length) { askServernames(); return; }
// TODO validate the domains
answers.servernames = resp.join(',');
answers.servernames = resp;
setTimeout(cb, 250);
});
}
@ -299,7 +299,7 @@ function askForConfig(answers, mainCb) {
resp = (resp || '').trim().split(/,/g);
if (!resp.length) { askPorts(); return; }
// TODO validate the domains
answers.ports = resp.join(',');
answers.ports = resp;
setTimeout(cb, 250);
});
}