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
@@ -38,7 +38,7 @@ function get() {
|
||||
data: data,
|
||||
});
|
||||
};
|
||||
process.on('message', function (message) {
|
||||
process.on('message', (message) => {
|
||||
if (message && typeof message === 'object' && message.action === 'pubsub') {
|
||||
singleHost.emit(message.event, message.data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user