From 29757af7dd620f055cdb353cd96d035f23d6a4a9 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 Backport-PR-URL: https://github.com/nodejs/node/pull/39446 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 67b7f73aa1b25e..3cb4d52f43aaf1 100644 --- a/lib/internal/inspector/inspect_repl.js +++ b/lib/internal/inspector/inspect_repl.js @@ -617,7 +617,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}`; }