fix confusing error when passing -a instead of -a :

This commit is contained in:
nightwing 2016-04-29 01:35:37 +04:00
parent b2a97238e8
commit c9a1efeeaa

View File

@ -105,7 +105,7 @@ module.exports = function(config, optimist) {
console.log("Run using --listen localhost instead to only expose Cloud9 to localhost,");
console.log("or use -a username:password to setup HTTP authentication\n");
}
var auth = (argv.auth || ":").split(":");
var auth = (argv.auth + "").split(":");
var plugins = [
{