From 5f80320e4846f3b3793f74d439a165166e8d7f4a Mon Sep 17 00:00:00 2001 From: dmihalcik-virtru Date: Mon, 16 Dec 2024 18:49:22 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20=F0=9F=8E=A8=20Autoformat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cli/src/cli.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cli/src/cli.ts b/cli/src/cli.ts index e8196580..a0230584 100644 --- a/cli/src/cli.ts +++ b/cli/src/cli.ts @@ -109,9 +109,7 @@ const rstrip = (str: string, suffix = ' '): string => { return str; }; -async function parseAssertionVerificationKeys( - s: string -): Promise { +async function parseAssertionVerificationKeys(s: string): Promise { let u: assertions.AssertionVerificationKeys; try { u = JSON.parse(s); @@ -201,7 +199,7 @@ async function correctAssertionKeys( // If importing as a private key fails, try importing as a public key try { return await importSPKI(key, 'RS256'); // Import public key - } catch (err) { } + } catch (err) {} } } // Otherwise its an unsupported alg