From fb0ab4c034e793f95fddcb99deb3517ff45a14ef Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 29 May 2021 19:37:01 -0700 Subject: [PATCH] debugger: removed unused function argument PR-URL: https://github.com/nodejs/node/pull/38850 Reviewed-By: Antoine du Hamel Reviewed-By: Colin Ihrig Reviewed-By: James M Snell --- lib/internal/inspector/inspect_repl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/inspector/inspect_repl.js b/lib/internal/inspector/inspect_repl.js index 32ee1c3f8c31ba..82e97a1fce73dd 100644 --- a/lib/internal/inspector/inspect_repl.js +++ b/lib/internal/inspector/inspect_repl.js @@ -581,7 +581,7 @@ function createRepl(inspector) { const lines = watchedExpressions .map((expr, idx) => { const prefix = `${leftPad(idx, ' ', lastIndex)}: ${expr} =`; - const value = inspect(values[idx], { colors: true }); + const value = inspect(values[idx]); if (value.indexOf('\n') === -1) { return `${prefix} ${value}`; }