Skip to content

Commit

Permalink
πŸ€– 🎨 Autoformat
Browse files Browse the repository at this point in the history
  • Loading branch information
dmihalcik-virtru authored and github-actions[bot] committed Dec 16, 2024
1 parent 8e698f2 commit 1dabec9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cli/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,7 @@ const rstrip = (str: string, suffix = ' '): string => {
return str;
};

async function parseAssertionVerificationKeys(
s: string
): Promise<Keys> {
async function parseAssertionVerificationKeys(s: string): Promise<Keys> {
let u: assertions.AssertionVerificationKeys;
try {
u = JSON.parse(s);
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1dabec9

Please sign in to comment.