mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 17:05:51 +01:00
fix(style): requiring parens in block bodies
This commit is contained in:
@@ -22,7 +22,7 @@ function setupWinston() {
|
||||
formats.push(winston.format.timestamp());
|
||||
formats.push(winston.format.json());
|
||||
} else {
|
||||
const timestampFormat = winston.format(info => {
|
||||
const timestampFormat = winston.format((info) => {
|
||||
var dateString = new Date().toISOString() + ' [' + nconf.get('port') + '/' + global.process.pid + ']';
|
||||
info.level = dateString + ' - ' + info.level;
|
||||
return info;
|
||||
|
||||
Reference in New Issue
Block a user