updated format and lint scripts and applied them
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
const logger = require('winston');
|
||||
const app = require('./app');
|
||||
const port = app.get('port');
|
||||
const logger = require('winston')
|
||||
const app = require('./app')
|
||||
const port = app.get('port')
|
||||
|
||||
app.run(port).then(() => {
|
||||
logger.info('MYKB listening at http://%s:%d', app.get('host'), port)
|
||||
@@ -8,4 +8,4 @@ app.run(port).then(() => {
|
||||
|
||||
process.on('unhandledRejection', (reason, p) =>
|
||||
logger.error('Unhandled Rejection at: Promise ', p, reason)
|
||||
);
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user