summaryrefslogtreecommitdiff
path: root/std/encoding/hex.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2020-07-14 15:24:17 -0400
committerGitHub <noreply@github.com>2020-07-14 15:24:17 -0400
commitcde4dbb35132848ffece59ef9cfaccff32347124 (patch)
treecc7830968c6decde704c8cfb83c9185193dc698f /std/encoding/hex.ts
parent9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff)
Use dprint for internal formatting (#6682)
Diffstat (limited to 'std/encoding/hex.ts')
-rw-r--r--std/encoding/hex.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/encoding/hex.ts b/std/encoding/hex.ts
index 729df6c49..5b09422a9 100644
--- a/std/encoding/hex.ts
+++ b/std/encoding/hex.ts
@@ -10,7 +10,7 @@ const hextable = new TextEncoder().encode("0123456789abcdef");
export function errInvalidByte(byte: number): Error {
return new Error(
"encoding/hex: invalid byte: " +
- new TextDecoder().decode(new Uint8Array([byte]))
+ new TextDecoder().decode(new Uint8Array([byte])),
);
}