Skip to content

Commit

Permalink
debugger: removed unused function argument
Browse files Browse the repository at this point in the history
PR-URL: nodejs#38850
Backport-PR-URL: nodejs#39446
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
Trott authored and foxxyz committed Oct 18, 2021
1 parent c718162 commit 29757af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/inspector/inspect_repl.js
Expand Up @@ -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}`;
}
Expand Down

0 comments on commit 29757af

Please sign in to comment.