Permalink
Browse files

Fix semicolons in bootstrap.js file.

  • Loading branch information...
1 parent ac2a93f commit abee8919922dd27dde61a53c369902f9d9fda15a @coderunr coderunr committed Jan 12, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 bootstrap.js
View
@@ -1,6 +1,6 @@
var mongoose = require('mongoose');
var config = require('config');
-var semver = require('semver')
+var semver = require('semver');
// configure mongodb
mongoose.connect(config.mongodb.connectionString || 'mongodb://' + config.mongodb.user + ':' + config.mongodb.password + '@' + config.mongodb.server +'/' + config.mongodb.database);
@@ -28,7 +28,7 @@ mongoose.connection.on('open', function (err) {
if (!semver.satisfies(data.version, '>=2.1.0')) {
console.error('Error: Uptime requires MongoDB v2.1 minimum. The current MongoDB server uses only '+ data.version);
process.exit(1);
- };
+ }
});
});

0 comments on commit abee891

Please sign in to comment.