reinstate `console.log` override
parent
251d32faaf
commit
1eb62db848
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in New Issue