From 2880c388f9e63a43c369a888b69647905af07c9d Mon Sep 17 00:00:00 2001 From: Dominic Griesel Date: Tue, 12 Nov 2024 20:18:53 +0100 Subject: [PATCH] fix: unreachable code --- packages/shared/src/Bytes.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/shared/src/Bytes.ts b/packages/shared/src/Bytes.ts index 9c3c70990510..e40a9af30fa0 100644 --- a/packages/shared/src/Bytes.ts +++ b/packages/shared/src/Bytes.ts @@ -132,7 +132,6 @@ export class Bytes extends Uint8Array { return uint8ArrayToBase64(this); case "base64url": return uint8ArrayToBase64(this, { urlSafe: true }); - return uint8ArrayToString(this, "utf8"); case "ucs-2": case "ucs2": case "utf16le":