oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
74.24k stars 2.77k forks source link

`console.error` does not preserve red color for multi-line output #7125

Open Electroid opened 1 year ago

Electroid commented 1 year ago

Repro:

console.error("This is an error message", {
  withExtra: true,
  properties: "yes",
});
Screenshot 2023-11-14 at 4 29 09 PM
prathamVaidya commented 12 months ago

I'll work on this

Josh-Cena commented 8 months ago

This happens for any nested structure, not just multiline.

console.error("errors: ", [1]);
image