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 47b678b commit 30d5e2dCopy full SHA for 30d5e2d
1 file changed
src/utils/prettyPrintObject.ts
@@ -64,7 +64,7 @@ function prettyPrintArray(arr: any[], indent: number = 4, options: PrettyPrintOb
64
const arrayItems = slicedArray.map((item) => prettyPrintObject(item, indent, options))
65
.concat(
66
hiddenItems > 0
67
- ? [chalk.white("..." + hiddenItems + " more item" + (hiddenItems !== 1 ? "s" : ""))]
+ ? [chalk.white("..." + hiddenItems.toLocaleString("en-US") + " more item" + (hiddenItems !== 1 ? "s" : ""))]
68
: []
69
);
70
const oneLineJoinedArrayItems = arrayItems.join(chalk.whiteBright(", "));
0 commit comments