Skip to content

Commit e43487b

Browse files
authored
fix: remove console.log in pbkdf2 (#503)
1 parent cb18402 commit e43487b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/pbkdf2.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ type Pbkdf2Callback = (err: Error | null, derivedKey?: Buffer) => void;
2222

2323
function sanitizeInput(input: BinaryLike, errorMsg: string): ArrayBuffer {
2424
try {
25-
const ab = binaryLikeToArrayBuffer(input);
26-
console.log('sanitized input', ab);
27-
return ab;
25+
return binaryLikeToArrayBuffer(input);
2826
// eslint-disable-next-line @typescript-eslint/no-unused-vars
2927
} catch (_e: unknown) {
3028
throw new Error(errorMsg);

0 commit comments

Comments
 (0)