mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-12-27 02:10:52 +08:00
update
This commit is contained in:
parent
6e30b385e8
commit
ea67b25bb5
2 changed files with 6 additions and 2 deletions
|
@ -7,7 +7,6 @@ let bugsnag;
|
|||
if (config.bugsnagCode) {
|
||||
bugsnag = require('bugsnag');
|
||||
bugsnag.register(config.bugsnagCode);
|
||||
bugsnag.notify(new Error('Non-fatal'));
|
||||
}
|
||||
|
||||
module.exports.notify = (...args) => {
|
||||
|
|
|
@ -13,8 +13,13 @@ const packageData = require('./package.json');
|
|||
log.level = config.log.level;
|
||||
require('./logger');
|
||||
|
||||
errors.notify(new Error('Starting mail server application'));
|
||||
|
||||
const printLogo = () => {
|
||||
let logo = fs.readFileSync(__dirname + '/logo.txt', 'utf-8').replace(/^\n+|\n+$/g, '').split('\n');
|
||||
let logo = fs
|
||||
.readFileSync(__dirname + '/logo.txt', 'utf-8')
|
||||
.replace(/^\n+|\n+$/g, '')
|
||||
.split('\n');
|
||||
|
||||
let columnLength = logo.map(l => l.length).reduce((max, val) => (val > max ? val : max), 0);
|
||||
let versionString = ' ' + packageData.name + '@' + packageData.version + ' ';
|
||||
|
|
Loading…
Reference in a new issue