Skip to content

Commit efe32a0

Browse files
committed
comments addressed
1 parent 82f971b commit efe32a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/cli/lib/parser.js.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const parse = (data) => {
2323
drawJSON(data[key]);
2424
}
2525
} else if (typeof data[key] === 'object') {
26-
if (data[key] && data[key].constructor?.name === 'BigNumber') {
26+
if (data[key]?.constructor?.name === 'BigNumber') {
2727
console.log(`${chalk.yellow.bold(key)} : ${data[key]}`);
2828
} else {
2929
console.log(`${chalk.yellow.bold.underline(key)}`)

0 commit comments

Comments
 (0)