Skip to content

Commit

Permalink
debugger: removed unused function argument
Browse files Browse the repository at this point in the history
PR-URL: #38850
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
Trott authored and danielleadams committed Jun 1, 2021
1 parent 36ffd58 commit f1000e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/inspector/inspect_repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
}
Expand Down

0 comments on commit f1000e0

Please sign in to comment.