Skip to content

Commit

Permalink
refactor(lib/autocannon): remove unused catch binding
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Jan 7, 2025
1 parent d1bb544 commit 03f4a7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/autocannon.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const run = (opts = {}) => new Promise((resolve, reject) => {
const writeResult = async (handler, result) => {
try {
await access(resultsDirectory)
} catch (e) {
} catch {
await mkdir(resultsDirectory)
}

Expand Down

0 comments on commit 03f4a7c

Please sign in to comment.