Skip to content

Commit 5d23399

Browse files
fix lint
1 parent 7de8a0d commit 5d23399

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export function isFailoverableError(error: any): boolean {
1818
return false;
1919
}
2020
// ENOTFOUND: DNS lookup failed, ENOENT: no such file or directory
21-
if (error.code == "ENOTFOUND" || error.code === "ENOENT"){
21+
if (error.code == "ENOTFOUND" || error.code === "ENOENT") {
2222
return true;
2323
}
2424
// 401 Unauthorized, 403 Forbidden, 408 Request Timeout, 429 Too Many Requests, 5xx Server Errors

0 commit comments

Comments
 (0)