Skip to content

Commit

Permalink
util: remove outdated comment
Browse files Browse the repository at this point in the history
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 Jan 14, 2019
1 parent 45a8eb6 commit 7ff4410
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/internal/util/inspect.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7ff4410

Please sign in to comment.