kopia lustrzana https://github.com/c9/core
Fix issues with npm run ctest and the using the auth param
rodzic
61ba91aca1
commit
70ce69a986
|
@ -90,7 +90,7 @@ module.exports = function(config, optimist) {
|
|||
require("child_process").exec("tmux -L cloud91.9 kill-server", function(){});
|
||||
|
||||
var isLocalhost = host == "localhost" || host == "127.0.0.1";
|
||||
if (argv.auth !== ":" && !isLocalhost) {
|
||||
if ((!argv.auth || !argv.auth.match(":")) && !isLocalhost) {
|
||||
console.log("Authentication is required when not running on localhost.\nPlease use -a user:pass or --listen localhost to listen locally.");
|
||||
process.exit(255);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue