Skip to content

Commit 61303dd

Browse files
committed
fix(lint): fix ESLint minor issue
1 parent d0d48ff commit 61303dd

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/lib/crypto.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ function encrypt(data, encryptionKey) {
2525
encryptedSecret = Buffer.concat([encryptedSecret, cipher.final()]);
2626

2727
// Embedded IV with the encrypted secret
28-
const encryptedData = `${iv.toString('hex')}:${encryptedSecret.toString('hex')}`;
29-
30-
return encryptedData;
28+
return `${iv.toString('hex')}:${encryptedSecret.toString('hex')}`;
3129
}
3230

3331
/**

0 commit comments

Comments
 (0)