From a1e51c41ee55b1142ddf28ee7a2e604783eceed9 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Wed, 10 May 2017 21:29:04 -0600 Subject: [PATCH] Call main... main! --- core/bbs.js | 4 ++-- main.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/bbs.js b/core/bbs.js index 3ac0c861..f2ab58ba 100644 --- a/core/bbs.js +++ b/core/bbs.js @@ -21,7 +21,7 @@ const fs = require('fs'); const paths = require('path'); // our main entry point -exports.bbsMain = bbsMain; +exports.main = main; // object with various services we want to de-init/shutdown cleanly if possible const initServices = {}; @@ -42,7 +42,7 @@ function printHelpAndExit() { process.exit(); } -function bbsMain() { +function main() { async.waterfall( [ function processArgs(callback) { diff --git a/main.js b/main.js index ef624294..0bc7bee9 100755 --- a/main.js +++ b/main.js @@ -9,4 +9,4 @@ If this file does not run directly, ensure it's executable: > chmod u+x main.js */ -require('./core/bbs.js').bbsMain(); \ No newline at end of file +require('./core/bbs.js').main(); \ No newline at end of file