Read native audit JSON as UTF-8

Signed-off-by: Arths17 <Atharvranjan8@gmail.com>
This commit is contained in:
atharvranjan committed 2026-11-24 13:28:35 -06:00
1 parent 0115af5c04
commit 281d92bfb5
4 files changed
+89 -1

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ import subprocess
executables = set()
for filename in ("native-build.jsonl", "native-tests.jsonl"):
for line in (Path("artifacts") / filename).read_text().splitlines():
for line in (Path("artifacts") / filename).read_text(encoding="utf-8").splitlines():
entry = json.loads(line)
if entry.get("executable"):
executables.add(entry["executable"])