Skip to content

Commit 81b4926

Browse files
committed
util: remove unicode support todo for perf implications
Follow up from benchmarks in pr: nodejs#43721
1 parent 49a5e81 commit 81b4926

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/internal/util/inspect.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1530,8 +1530,6 @@ function formatPrimitive(fn, value, ctx) {
15301530
trailer = `... ${remaining} more character${remaining > 1 ? 's' : ''}`;
15311531
}
15321532
if (ctx.compact !== true &&
1533-
// TODO(BridgeAR): Add unicode support. Use the readline getStringWidth
1534-
// function.
15351533
value.length > kMinLineLength &&
15361534
value.length > ctx.breakLength - ctx.indentationLvl - 4) {
15371535
return value

0 commit comments

Comments
 (0)