* Code cleanup and eslint since -- remove unused variables, clean up RegExs, so on...

This commit is contained in:
Bryan Ashby 2018-01-15 12:22:11 -07:00
parent a106050ba3
commit ac1433e84b
112 changed files with 1375 additions and 1898 deletions

View file

@ -38,17 +38,17 @@ function startup(cb) {
function shutdown(cb) {
async.each(
msgNetworkModules,
msgNetworkModules,
(msgNetModule, next) => {
msgNetModule.shutdown( () => {
return next();
});
},
},
() => {
msgNetworkModules = [];
return cb(null);
}
);
);
}
function recordMessage(message, cb) {
@ -59,7 +59,7 @@ function recordMessage(message, cb) {
//
async.each(msgNetworkModules, (modInst, next) => {
modInst.record(message);
next();
next();
}, err => {
cb(err);
});