mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Use consistent require filename within function
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user