From 910009d5c62f9720ec32e2653dc3768fb495323b 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 8988212fa83802..3311d2188e9265 100644 --- a/lib/internal/inspector/inspect_repl.js +++ b/lib/internal/inspector/inspect_repl.js @@ -639,7 +639,7 @@ function createRepl(inspector) { ArrayPrototypeMap(watchedExpressions, inspectValue))); const lines = ArrayPrototypeMap(watchedExpressions, (expr, idx) => { const prefix = `${leftPad(idx, ' ', lastIndex)}: ${expr} =`; - const value = inspect(values[idx], { colors: true }); + const value = inspect(values[idx]); if (!StringPrototypeIncludes(value, '\n')) { return `${prefix} ${value}`; }