mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
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>
This commit is contained in:
1 parent
2ad0719e86
commit
fb0ab4c034
1 file changed
+1
-1
@@ -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}`;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user