diff --git a/lib/internal/util/inspect.js b/lib/internal/util/inspect.js index 0491ee9abb46fc..894d677054f243 100644 --- a/lib/internal/util/inspect.js +++ b/lib/internal/util/inspect.js @@ -1099,8 +1099,6 @@ function formatPromise(ctx, value, recurseTimes) { if (state === kPending) { output = [ctx.stylize('', '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;