Skip to content

Commit

Permalink
remove unreachable condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Leos committed Sep 12, 2023
1 parent 81dab71 commit b526312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/crypto/src/jose.ts
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ export class Jose {
const jose = multicodecToJoseMapping[lookupKey];

if (jose === undefined) {
throw new Error(`Unsupported Multicodec to JOSE conversion: '${options.name ?? options.code}'`);
throw new Error(`Unsupported Multicodec to JOSE conversion: '${options.name}'`);
}

return { ...jose };
Expand Down

0 comments on commit b526312

Please sign in to comment.