fix: skip the core-info row when offline

This commit is contained in:
Abdessamad Derraz committed 2026-11-05 11:49:31 +01:00
1 parent f195e714c4
commit 651b1404db
2 files changed
+12

No files matched your search

+3
View File
@@ -822,6 +822,9 @@ def check_coreinfo(
record_path: Path = CORE_INFO_RECORD,
) -> list[Finding]:
blobs = core_info_blobs(cache_dir, offline)
if blobs is None and offline:
# Offline with no cached listing, nothing was asked of the upstream.
return [Finding("coreinfo", "libretro-core-info", SKIPPED, detail="offline")]
if blobs is None:
return [Finding("coreinfo", "libretro-core-info", UNKNOWN, detail="listing unavailable")]
names = list(blobs)