From 7ff44105bef5f663d4a9c3fb9c91671c8143a0a5 Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Fri, 28 Dec 2018 02:30:40 +0100 Subject: [PATCH] util: remove outdated comment This comment is not correct anymore. PR-URL: https://github.com/nodejs/node/pull/25255 Reviewed-By: James M Snell --- lib/internal/util/inspect.js | 2 -- 1 file changed, 2 deletions(-) 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;