Skip to content

Commit bdca4d3

Browse files
BridgeARtargos
authored andcommitted
util: remove unnecessary template string
Signed-off-by: Ruben Bridgewater <[email protected]> PR-URL: #41082 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
1 parent 6b16836 commit bdca4d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/util/inspect.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ function strEscape(str) {
534534
continue;
535535
}
536536
}
537-
result += `${StringPrototypeSlice(str, last, i)}${`\\u${point.toString(16)}`}`;
537+
result += `${StringPrototypeSlice(str, last, i)}\\u${point.toString(16)}`;
538538
last = i + 1;
539539
}
540540
}

0 commit comments

Comments
 (0)