Skip to content

Commit

Permalink
fix error handing
Browse files Browse the repository at this point in the history
  • Loading branch information
WMXPY committed Sep 15, 2024
1 parent 8c1e547 commit 9c1255c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ module.exports = {
"error",
{
"argsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_",
},
],
"comma-dangle": [
Expand Down
2 changes: 1 addition & 1 deletion src/binary-storage/binary-storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class FileSystemBinaryStorage extends ImbricateBinaryStorageBase implemen
try {
Buffer.from(binary, "base64");
return true;
} catch (error) {
} catch (_error) {
return false;
}
}
Expand Down

0 comments on commit 9c1255c

Please sign in to comment.