Skip to content

Commit 53b0a2a

Browse files
authored
refactor(lib/autocannon): remove unused catch binding (#375)
1 parent d1bb544 commit 53b0a2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/autocannon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const run = (opts = {}) => new Promise((resolve, reject) => {
2626
const writeResult = async (handler, result) => {
2727
try {
2828
await access(resultsDirectory)
29-
} catch (e) {
29+
} catch {
3030
await mkdir(resultsDirectory)
3131
}
3232

0 commit comments

Comments
 (0)