Skip to content

Commit c4f3d0a

Browse files
committed
No need for default
1 parent d6d1e7c commit c4f3d0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pgp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class VerificationError extends Error {
2626
switch (this.code) {
2727
case VerificationErrorCode.Invalid:
2828
return "Signature does not match";
29-
default:
29+
case VerificationErrorCode.Read:
3030
return "Failed to read signature";
3131
}
3232
}

0 commit comments

Comments
 (0)