init.js
Function main
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
exports.main = function () {
// Decrypt db (the Vault) and get ready for use
// open mdb
logger.verbose(`PROMISE: Main initialisation`)
return new Promise(function (resolve, reject) {