Skip to content

Commit 30d5e2d

Browse files
committed
fix: bug
1 parent 47b678b commit 30d5e2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/prettyPrintObject.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function prettyPrintArray(arr: any[], indent: number = 4, options: PrettyPrintOb
6464
const arrayItems = slicedArray.map((item) => prettyPrintObject(item, indent, options))
6565
.concat(
6666
hiddenItems > 0
67-
? [chalk.white("..." + hiddenItems + " more item" + (hiddenItems !== 1 ? "s" : ""))]
67+
? [chalk.white("..." + hiddenItems.toLocaleString("en-US") + " more item" + (hiddenItems !== 1 ? "s" : ""))]
6868
: []
6969
);
7070
const oneLineJoinedArrayItems = arrayItems.join(chalk.whiteBright(", "));

0 commit comments

Comments
 (0)