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 <ruben@bridgewater.de>
  • Loading branch information
BridgeAR committed Jul 8, 2022
1 parent 5c4e0dd commit c0f4ca9
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 c0f4ca9

Please sign in to comment.