Skip to content

Commit

Permalink
fix(*): lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
Leopoldthecoder committed Dec 27, 2024
1 parent dd58e46 commit e8b8f47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export default [
'error',
{
argsIgnorePattern: '_',
caughtErrorsIgnorePattern: '_',
},
],

Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const getConfig = <T>(key: string, defaultValue: T): T => {
try {
// Properly handle booleans, numbers, arrays, and objects
return JSON.parse(value)
} catch (e) {
} catch (_) {
// Value must have be a string or empty
return value as T
}
Expand Down

0 comments on commit e8b8f47

Please sign in to comment.