Skip to content

Commit f946aa0

Browse files
Trotttargos
authored andcommitted
debugger: remove unused function argument
The `{colors: true}` removed here is ignored by the function it is being sent to. PR-URL: #38400 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 203a968 commit f946aa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/inspector/inspect_repl.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ function createRepl(inspector) {
581581
const lines = watchedExpressions
582582
.map((expr, idx) => {
583583
const prefix = `${leftPad(idx, ' ', lastIndex)}: ${expr} =`;
584-
const value = inspect(values[idx], { colors: true });
584+
const value = inspect(values[idx]);
585585
if (value.indexOf('\n') === -1) {
586586
return `${prefix} ${value}`;
587587
}

0 commit comments

Comments
 (0)