Skip to content

Commit

Permalink
Remove unneeded catch param.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton committed Jan 15, 2019
1 parent 8e8c354 commit 8a3d1ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/acorn/acorn/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function init() {
try {
ast = Parser.parse(code, options)
threw = false
} catch (e) {}
} catch {}
}

if (threw) {
Expand Down
2 changes: 1 addition & 1 deletion src/acorn/internal/acorn.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function init() {
const acorn = realRequire("internal/deps/acorn/dist/acorn")

acornParse.enable(acorn)
} catch (e) {}
} catch {}
}
}
}
Expand Down

0 comments on commit 8a3d1ce

Please sign in to comment.