This commit is contained in:
Jan Prochazka 2024-09-12 08:43:34 +02:00
parent fb2b47615f
commit e54bd1da3f

View File

@ -11,7 +11,7 @@ global.console = {
log: (...messages) => {
try {
const parsedMessage = JSON.parse(messages[0]);
process.stdout.write(pretty(parsedMessage) + '\n');
process.stdout.write(pretty(parsedMessage));
} catch (error) {
process.stdout.write(messages.join(' ') + '\n');
}