Skip to content

Commit 7ff4410

Browse files
BridgeARaddaleax
authored andcommitted
util: remove outdated comment
This comment is not correct anymore. PR-URL: #25255 Reviewed-By: James M Snell <[email protected]>
1 parent 45a8eb6 commit 7ff4410

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/internal/util/inspect.js

-2
Original file line numberDiff line numberDiff line change
@@ -1115,8 +1115,6 @@ function formatPromise(ctx, value, recurseTimes) {
11151115
if (state === kPending) {
11161116
output = [ctx.stylize('<pending>', 'special')];
11171117
} else {
1118-
// Using `formatValue` is correct here without the need to fix the
1119-
// indentation level.
11201118
ctx.indentationLvl += 2;
11211119
const str = formatValue(ctx, result, recurseTimes);
11221120
ctx.indentationLvl -= 2;

0 commit comments

Comments
 (0)