Skip to content

Commit

Permalink
prune: color didn't take effect
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkhala committed Dec 29, 2023
1 parent 7e397cb commit 1eacb55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions light/format.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import util from 'util';

export const JSONReadable = (data) => JSON.stringify(data, null, 2);
export const ObjectReadable = (object, useColor) => util.inspect(object, {
depth: Infinity, colors: !!useColor
export const ObjectReadable = (object) => util.inspect(object, {
depth: Infinity
});

export const base64 = {
Expand Down

0 comments on commit 1eacb55

Please sign in to comment.