Use string interpolation
This commit is contained in:
@@ -16,7 +16,7 @@ export default function() {
|
||||
});
|
||||
|
||||
ev.on('requestNotesStatsLog', id => {
|
||||
ev.emit('notesStatsLog:' + id, log.toArray());
|
||||
ev.emit(`notesStatsLog:${id}`, log.toArray());
|
||||
});
|
||||
|
||||
process.on('exit', code => {
|
||||
|
Reference in New Issue
Block a user