diff --git a/tools/commands.js b/tools/commands.js index d949ed4e79..f69ee6fb31 100644 --- a/tools/commands.js +++ b/tools/commands.js @@ -318,8 +318,8 @@ function doRunCommand (options) { // // NOTE: this calls process.exit() when testing is done. if (options['test']){ - var serverUrl = "http://" + (parsedHostPort.host || "localhost") + - ":" + parsedHostPort.port; + var serverUrl = "http://" + (parsedUrl.host || "localhost") + + ":" + parsedUrl.port; var velocity = require('./run-velocity.js'); velocity.runVelocity(serverUrl); }