Skip to content

Commit

Permalink
remove (e) in catch
Browse files Browse the repository at this point in the history
  • Loading branch information
v1rtl committed Oct 10, 2021
1 parent a534a20 commit 296ea44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function makeEncryptor(key: string) {
export function lazyJSONParse(json: string): any {
try {
return JSON.parse(json)
} catch (e) {
} catch {
return {}
}
}
Expand Down

0 comments on commit 296ea44

Please sign in to comment.