Fix velocity test command for new parsedUrl (e7037b72)

This commit is contained in:
Nick Martin
2014-09-29 23:42:32 -07:00
committed by Avital Oliver
parent 14c0ec29f8
commit bcacef436e

View File

@@ -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);
}