Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7ff4410

Browse filesBrowse 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
Copy full SHA for 7ff4410

File tree

Expand file treeCollapse file tree

1 file changed

+0
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-2
lines changed
Open diff view settings
Collapse file

‎lib/internal/util/inspect.js‎

Copy file name to clipboardExpand all lines: lib/internal/util/inspect.js
-2Lines 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
const str = formatValue(ctx, result, recurseTimes);
11221120
ctx.indentationLvl -= 2;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.