Skip to content

Commit

Permalink
chore: eslint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoenig134 committed Nov 17, 2023
1 parent ad6754e commit 038e297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/encryption/CryptoEncryption.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export abstract class CryptoEncryption {
if (typeof nonce !== "undefined") {
CryptoValidation.checkNonceForAlgorithm(nonce, correctAlgorithm);
publicnonce = nonce.buffer;
} else if (typeof cipher !== "undefined" && typeof cipher.nonce !== "undefined") {
} else if (typeof cipher.nonce !== "undefined") {
publicnonce = cipher.nonce.buffer;
} else {
throw new CryptoError(
Expand Down

0 comments on commit 038e297

Please sign in to comment.