Address review: match the sibling adapter guard in the lnw skip (#91)

The manga script's refresh guards both the adapter and its method; the
novel guard skipped the adapter null-check. Provably non-null today, but
the sibling shape is the convention to match.
This commit is contained in:
2026-08-11 20:27:11 +07:00
parent fb65c78e15
commit 48cd6e8d60
+1 -1
View File
@@ -862,7 +862,7 @@
// before the due filter records no freshness timestamp and consumes no
// per-navigation batch slot.
const adapter = adapterFor(site);
if (!adapter.latestChapterFromAnchors) return;
if (!adapter || !adapter.latestChapterFromAnchors) return;
const checked = loadLastChecked();
const now = Date.now();