Fix JS linting errors

This commit is contained in:
2026-01-24 17:54:34 +07:00
parent 94b7959fd8
commit 1a2aae631d
7 changed files with 50 additions and 11 deletions

View File

@@ -59,6 +59,7 @@ out center;
async fetchWithRetry(url, options = {}, retries = 3) {
try {
// eslint-disable-next-line warp-drive/no-external-request-patterns
const res = await fetch(url, options);
if (!res.ok && retries > 0 && [502, 503, 504, 429].includes(res.status)) {