Skip to content

Commit 7ff4410

Browse files
BridgeARaddaleax
authored andcommitted
util: remove outdated comment
This comment is not correct anymore. PR-URL: #25255 Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 45a8eb6 commit 7ff4410

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎lib/internal/util/inspect.js‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,8 +1115,6 @@ function formatPromise(ctx, value, recurseTimes) {
11151115
if(state===kPending){
11161116
output=[ctx.stylize('<pending>','special')];
11171117
}else{
1118-
// Using `formatValue` is correct here without the need to fix the
1119-
// indentation level.
11201118
ctx.indentationLvl+=2;
11211119
conststr=formatValue(ctx,result,recurseTimes);
11221120
ctx.indentationLvl-=2;

0 commit comments

Comments
 (0)