0
0
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:
Ruben Bridgewater 2018-12-28 02:30:40 +01:00 committed by Daniel Bevenius
parent 1ab659a141
commit 1bee544a20

View File

@ -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;