Call main... main!
This commit is contained in:
parent
0e5d0c53d2
commit
a1e51c41ee
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue