mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
util: remove outdated comment
This comment is not correct anymore. PR-URL: https://github.com/nodejs/node/pull/25255 Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
1ab659a141
commit
1bee544a20
@ -1115,8 +1115,6 @@ function formatPromise(ctx, value, recurseTimes) {
|
||||
if (state === kPending) {
|
||||
output = [ctx.stylize('<pending>', 'special')];
|
||||
} else {
|
||||
// Using `formatValue` is correct here without the need to fix the
|
||||
// indentation level.
|
||||
ctx.indentationLvl += 2;
|
||||
const str = formatValue(ctx, result, recurseTimes);
|
||||
ctx.indentationLvl -= 2;
|
||||
|
Loading…
Reference in New Issue
Block a user