From 10d04c2485685fccabc5403ef984cacff6af6014 Mon Sep 17 00:00:00 2001 From: Mark Moffat Date: Sun, 9 Jun 2019 22:00:26 +0930 Subject: [PATCH] Removed comment --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 039eb03..ae3bde3 100644 --- a/app.js +++ b/app.js @@ -323,7 +323,6 @@ app.on('uncaughtException', (err) => { process.exit(2); }); -// MongoClient.connect(config.databaseConnectionString, {}, (err, client) => { initDb(config.databaseConnectionString, (err, db) => { // On connection error we display then exit if(err){ @@ -357,6 +356,7 @@ initDb(config.databaseConnectionString, (err, db) => { // lift the app app.emit('appStarted'); console.log(colors.green('expressCart running on host: http://localhost:' + app.get('port'))); + return; }) .catch((err) => { console.error(colors.red('Error setting up indexes:' + err));