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:
@@ -862,7 +862,7 @@
|
|||||||
// before the due filter records no freshness timestamp and consumes no
|
// before the due filter records no freshness timestamp and consumes no
|
||||||
// per-navigation batch slot.
|
// per-navigation batch slot.
|
||||||
const adapter = adapterFor(site);
|
const adapter = adapterFor(site);
|
||||||
if (!adapter.latestChapterFromAnchors) return;
|
if (!adapter || !adapter.latestChapterFromAnchors) return;
|
||||||
|
|
||||||
const checked = loadLastChecked();
|
const checked = loadLastChecked();
|
||||||
const now = Date.now();
|
const now = Date.now();
|
||||||
|
|||||||
Reference in New Issue
Block a user