Skip to content
Permalink
Browse files

util: remove outdated comment

This comment is not correct anymore.

PR-URL: #25255
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information...
BridgeAR authored and addaleax committed Dec 28, 2018
1 parent 45a8eb6 commit 7ff44105bef5f663d4a9c3fb9c91671c8143a0a5
Showing with 0 additions and 2 deletions.
  1. +0 −2 lib/internal/util/inspect.js
@@ -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;

0 comments on commit 7ff4410

Please sign in to comment.
You can’t perform that action at this time.