Skip to content
This repository was archived by the owner on Feb 1, 2022. It is now read-only.

Commit 643179e

Browse files
authored
lib: remove unused function argument (#96)
The `{colors: true}` removed here is ignored by the function it is being sent to.
1 parent 789aeee commit 643179e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/internal/inspect_repl.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ function createRepl(inspector) {
577577
const lines = watchedExpressions
578578
.map((expr, idx) => {
579579
const prefix = `${leftPad(idx, ' ', lastIndex)}: ${expr} =`;
580-
const value = inspect(values[idx], { colors: true });
580+
const value = inspect(values[idx]);
581581
if (value.indexOf('\n') === -1) {
582582
return `${prefix} ${value}`;
583583
}

0 commit comments

Comments
 (0)