We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5d5a7a commit e3ba090Copy full SHA for e3ba090
ironfish-cli/src/ui/table.ts
@@ -7,6 +7,7 @@ import { Flags, ux } from '@oclif/core'
7
import chalk from 'chalk'
8
import { orderBy } from 'natural-orderby'
9
import stringWidth from 'string-width'
10
+import { json } from './json'
11
12
const WIDE_DASH = '─'
13
@@ -157,7 +158,7 @@ class Table<T extends Record<string, unknown>> {
157
158
}
159
160
renderJson(rows: Record<string, string>[]) {
- this.options.printLine(JSON.stringify(rows, null, 2))
161
+ this.options.printLine(json(rows))
162
163
164
renderTerminal(rows: Record<string, string>[]) {
0 commit comments