Skip to content

Commit

Permalink
Fix velocity test command for new parsedUrl (e7037b72)
Browse files Browse the repository at this point in the history
  • Loading branch information
n1mmy authored and avital committed Sep 30, 2014
1 parent 14c0ec2 commit bcacef4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit bcacef4

Please sign in to comment.