reinstate `console.log` override

master
Brad Cornes 2021-10-08 17:36:41 +01:00
parent 251d32faaf
commit 1eb62db848
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ declare var __non_webpack_require__: typeof require
const connection = const connection =
process.argv.length <= 2 ? createConnection(process.stdin, process.stdout) : createConnection() process.argv.length <= 2 ? createConnection(process.stdin, process.stdout) : createConnection()
// console.log = connection.console.log.bind(connection.console) console.log = connection.console.log.bind(connection.console)
console.error = connection.console.error.bind(connection.console) console.error = connection.console.error.bind(connection.console)
process.on('unhandledRejection', (e: any) => { process.on('unhandledRejection', (e: any) => {