Call main... main!

This commit is contained in:
Bryan Ashby 2017-05-10 21:29:04 -06:00
parent 0e5d0c53d2
commit a1e51c41ee
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ const fs = require('fs');
const paths = require('path'); const paths = require('path');
// our main entry point // our main entry point
exports.bbsMain = bbsMain; exports.main = main;
// object with various services we want to de-init/shutdown cleanly if possible // object with various services we want to de-init/shutdown cleanly if possible
const initServices = {}; const initServices = {};
@ -42,7 +42,7 @@ function printHelpAndExit() {
process.exit(); process.exit();
} }
function bbsMain() { function main() {
async.waterfall( async.waterfall(
[ [
function processArgs(callback) { function processArgs(callback) {

View File

@ -9,4 +9,4 @@
If this file does not run directly, ensure it's executable: If this file does not run directly, ensure it's executable:
> chmod u+x main.js > chmod u+x main.js
*/ */
require('./core/bbs.js').bbsMain(); require('./core/bbs.js').main();