mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 15:05:46 +01:00
chore: eslint prefer-arrow-callback
This commit is contained in:
committed by
Julian Lam
parent
707b55b6a5
commit
b56d9e12b5
@@ -87,7 +87,7 @@ Logger.open = function (value) {
|
||||
}
|
||||
|
||||
if (stream) {
|
||||
stream.on('error', function (err) {
|
||||
stream.on('error', (err) => {
|
||||
winston.error(err.stack);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user