Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2021-05-30 05:37:01 +0300
committerDanielle Adams <adamzdanielle@gmail.com>2021-06-01 15:18:48 +0300
commitf1000e0e52604a8802848e3ba89f3b80954dbc82 (patch)
tree9a5de56ef4797dd432928ecb31d1986145c5d932 /lib
parent36ffd58105c725c58531f95770103ad2878a47d6 (diff)
debugger: removed unused function argument
PR-URL: https://github.com/nodejs/node/pull/38850 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/internal/inspector/inspect_repl.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/inspector/inspect_repl.js b/lib/internal/inspector/inspect_repl.js
index 8988212fa83..3311d2188e9 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}`;
}