Skip to content

Commit e913996

Browse files
committed
util: remove outdated comment
This comment is not correct anymore. PR-URL: nodejs#25255 Reviewed-By: James M Snell <[email protected]>
1 parent 57ae88b commit e913996

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
@@ -1099,8 +1099,6 @@ function formatPromise(ctx, value, recurseTimes) {
10991099
if (state === kPending) {
11001100
output = [ctx.stylize('<pending>', 'special')];
11011101
} else {
1102-
// Using `formatValue` is correct here without the need to fix the
1103-
// indentation level.
11041102
ctx.indentationLvl += 2;
11051103
const str = formatValue(ctx, result, recurseTimes);
11061104
ctx.indentationLvl -= 2;

0 commit comments

Comments
 (0)