Skip to content

Commit 524e399

Browse files
committed
fix: use json.loads(strict=False) to handle unescaped newlines in vu1nz output
1 parent 848074b commit 524e399

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/vu1nz-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
scan_file = os.environ.get("RUNNER_TEMP", "") + "/vu1nz-scan.json"
7171
try:
7272
with open(scan_file) as f:
73-
data = json.load(f)
73+
data = json.loads(f.read(), strict=False)
7474
except Exception as e:
7575
print(f"::warning::Could not parse scan results: {e}")
7676
# Write fallback so the comment step still works

0 commit comments

Comments
 (0)