mirror of
https://github.com/denoland/std.git
synced 2024-11-22 04:59:05 +00:00
fix(fmt): make printf respect NO_COLOR (#3595)
This commit is contained in:
parent
12d3b01d42
commit
717b7cc3cc
@ -907,7 +907,7 @@ class Printf {
|
||||
*/
|
||||
fmtI(val: unknown, compact: boolean): string {
|
||||
return Deno.inspect(val, {
|
||||
colors: true,
|
||||
colors: !Deno?.noColor,
|
||||
compact,
|
||||
depth: Infinity,
|
||||
iterableLimit: Infinity,
|
||||
|
Loading…
Reference in New Issue
Block a user