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 nodejs-github-bot committed Jul 9, 2022
1 parent b5cb341 commit 7cfd5f1
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 7cfd5f1

Please sign in to comment.