fixing regression introduced where the client-side config was incorrectly generated (resolves #94)

v1.18.x
Julian Lam 12 years ago
parent f63be472be
commit 2f1ef4c2a1

@ -39,7 +39,17 @@ var async = require('async'),
async.eachSeries(install.questions, function(question, next) {
var question = question.split('|');
install.ask(question[1], function(value) {
if (value !== '') config[question[0]] = value;
switch(question[0]) {
case 'use_port':
value = value.toLowerCase();
if (['y', 'yes', ''].indexOf(value) === -1) config[question[0]] = false;
break;
default:
if (value !== '') config[question[0]] = value;
break;
}
next();
});
}, function() {

Loading…
Cancel
Save