forked from noxious/server
Console fix
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
import { SocketEvent } from '#application/enums';
|
||||
import * as fs from 'fs'
|
||||
import * as path from 'path'
|
||||
|
||||
@ -61,7 +60,7 @@ export class LogReader {
|
||||
end: newPosition
|
||||
})
|
||||
|
||||
stream.on(SocketEvent.DATA, (data) => {
|
||||
stream.on('data', (data) => {
|
||||
console.log(`[${filename}]`)
|
||||
console.log(data.toString()) //
|
||||
})
|
||||
|
Reference in New Issue
Block a user