From 5daabeb615d2b17bdca4694b21c5caf5da88c3bb Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 1 Mar 2026 15:58:14 -0800 Subject: chore(biome): re-enable noDoubleEquals rule --- src/lib/Media/Manga/chapters.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/Media') diff --git a/src/lib/Media/Manga/chapters.ts b/src/lib/Media/Manga/chapters.ts index 32e1f0fc..caac1fbd 100644 --- a/src/lib/Media/Manga/chapters.ts +++ b/src/lib/Media/Manga/chapters.ts @@ -38,7 +38,7 @@ const getManga = async ( break; } - const nullIfNullString = (s: string | null) => (s == 'null' ? null : s); + const nullIfNullString = (s: string | null) => (s === 'null' ? null : s); const get = async (title: string) => { try { return await ( @@ -195,7 +195,7 @@ export const chapterCount = async ( lastChapter = (await getChapterCount(manga.title.native)) || 0; } - if (lastChapter == 0) lastChapter = -1; + if (lastChapter === 0) lastChapter = -1; await database.chapters.put({ id: manga.id, -- cgit v1.2.3