Skip to content

Commit 851aa42

Browse files
committed
FIx lint errors
1 parent b1a4ff7 commit 851aa42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/generators/encode.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ window.Encode.Base64 = {
3131
let result = null
3232
try {
3333
result = CryptoJS.enc.Utf8.stringify(wordArray)
34-
} catch (error) {
34+
} catch (_) {
3535
result = CryptoJS.enc.Latin1.stringify(wordArray)
3636
}
3737

@@ -50,7 +50,7 @@ window.Encode.Hexadecimal = {
5050
let result = null
5151
try {
5252
result = CryptoJS.enc.Utf8.stringify(wordArray)
53-
} catch (error) {
53+
} catch (_) {
5454
result = CryptoJS.enc.Latin1.stringify(wordArray)
5555
}
5656

0 commit comments

Comments
 (0)