Skip to content

Commit

Permalink
fix: remove console.log in pbkdf2 (#503)
Browse files Browse the repository at this point in the history
  • Loading branch information
boorad authored Nov 6, 2024
1 parent cb18402 commit e43487b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pbkdf2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ type Pbkdf2Callback = (err: Error | null, derivedKey?: Buffer) => void;

function sanitizeInput(input: BinaryLike, errorMsg: string): ArrayBuffer {
try {
const ab = binaryLikeToArrayBuffer(input);
console.log('sanitized input', ab);
return ab;
return binaryLikeToArrayBuffer(input);
// eslint-disable-next-line @typescript-eslint/no-unused-vars
} catch (_e: unknown) {
throw new Error(errorMsg);
Expand Down

0 comments on commit e43487b

Please sign in to comment.