chore: upgrade to eslint v9 (#2574)

This commit is contained in:
Michael Thomas
2026-03-16 12:12:30 -04:00
committed by GitHub
parent 40e02bba6a
commit 36243a0deb
84 changed files with 916 additions and 883 deletions

View File

@@ -154,7 +154,9 @@ class AnimeListMapping {
{ label: 'Anime-List Sync' }
);
} catch (e) {
throw new Error(`Failed to load Anime-List mappings: ${e.message}`);
throw new Error(`Failed to load Anime-List mappings: ${e.message}`, {
cause: e,
});
}
};
@@ -173,7 +175,9 @@ class AnimeListMapping {
response.data.pipe(writer);
});
} catch (e) {
throw new Error(`Failed to download Anime-List mapping: ${e.message}`);
throw new Error(`Failed to download Anime-List mapping: ${e.message}`, {
cause: e,
});
}
};