Skip to content

Commit

Permalink
util: remove unnecessary template string
Browse files Browse the repository at this point in the history
Signed-off-by: Ruben Bridgewater <[email protected]>

PR-URL: #41082
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
  • Loading branch information
BridgeAR authored and targos committed Jul 12, 2022
1 parent 6b16836 commit bdca4d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/util/inspect.js
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ function strEscape(str) {
continue;
}
}
result += `${StringPrototypeSlice(str, last, i)}${`\\u${point.toString(16)}`}`;
result += `${StringPrototypeSlice(str, last, i)}\\u${point.toString(16)}`;
last = i + 1;
}
}
Expand Down

0 comments on commit bdca4d3

Please sign in to comment.