diff --git a/lib/internal/util/inspect.js b/lib/internal/util/inspect.js index 8516755fa21fc6..e5cde4d3354a86 100644 --- a/lib/internal/util/inspect.js +++ b/lib/internal/util/inspect.js @@ -1115,8 +1115,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;