mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 00:20:08 +01:00
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 <duhamelantoine1995@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
f9a4dcb30c
commit
052e1c5385
|
|
@ -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}`;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user