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.
2 parents 4adff79 + efe32a0 commit 020ffd9Copy full SHA for 020ffd9
templates/cli/lib/parser.js.twig
@@ -23,11 +23,11 @@ const parse = (data) => {
23
drawJSON(data[key]);
24
}
25
} else if (typeof data[key] === 'object') {
26
- if (data[key] && data[key].constructor.name === 'BigNumber') {
+ if (data[key]?.constructor?.name === 'BigNumber') {
27
console.log(`${chalk.yellow.bold(key)} : ${data[key]}`);
28
} else {
29
console.log(`${chalk.yellow.bold.underline(key)}`)
30
- parse(data[key]);
+ drawTable([data[key]]);
31
32
33
0 commit comments