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: nodejs#25255
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
BridgeAR committed Jan 16, 2019
1 parent 57ae88b commit e913996
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 @@ -1099,8 +1099,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 e913996

Please sign in to comment.