Skip to content

Commit 93507f1

Browse files
committed
lib: remove unused function argument (nodejs#96)
The `{colors: true}` removed here is ignored by the function it is being sent to.
1 parent a7e7087 commit 93507f1

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)