mirror of
https://github.com/Druthulu/BFM-decomp
synced 2026-09-26 13:33:34 -04:00
fix(phase-33): doc_links — a missing default document that is on the pending list counts as PENDING, not BROKEN (docs/retrospective.md until F2)
This commit is contained in:
+4
-1
@@ -42,7 +42,10 @@ def check(files, strict):
|
||||
for f in files:
|
||||
fp = REPO / f
|
||||
if not fp.exists():
|
||||
broken.append((f, "<file itself>", "document missing"))
|
||||
if f in pend:
|
||||
pend_hits.append((f, "<the document itself>", pend[f])) # promised by a later task, tracked
|
||||
else:
|
||||
broken.append((f, "<file itself>", "document missing"))
|
||||
continue
|
||||
text = fp.read_text(encoding="utf-8", errors="replace")
|
||||
for m in LINK_RE.finditer(text):
|
||||
|
||||
Reference in New Issue
Block a user