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

pull/299/head
nightwing 2016-04-29 01:35:37 +04:00
rodzic b2a97238e8
commit c9a1efeeaa
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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 = [
{