Skip to content

Commit 0eca5e1

Browse files
committed
fix: error json
1 parent 9bd9499 commit 0eca5e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utils/logging/console.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ export const createConsole = (
7171
}
7272
return console.info(getColoredLog(headMessage, args));
7373
case 'json':
74-
return console.info(bigIntStringify(args));
74+
args.forEach((arg) => console.info(bigIntStringify(arg)));
75+
return;
7576
default:
7677
if (program.opts().json) {
7778
return console.info(bigIntStringify({ result: args }));

0 commit comments

Comments
 (0)