From 55928eae0ad19002ebbf1d2c60c7863610bbc1bc Mon Sep 17 00:00:00 2001 From: David Glasser Date: Mon, 3 Feb 2014 17:16:52 -0800 Subject: [PATCH] Use consistent require filename within function --- tools/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/commands.js b/tools/commands.js index 1a84c88d22..339de2c33f 100644 --- a/tools/commands.js +++ b/tools/commands.js @@ -682,7 +682,7 @@ main.registerCommand({ if (options.args.length === 0) { // localhost mode var findMongoPort = - require(path.join(__dirname, 'run-mongo.js')).findMongoPort; + require('./run-mongo.js').findMongoPort; var mongoPort = findMongoPort(options.appDir); // XXX detect the case where Meteor is running, but MONGO_URL was