mirror of
https://github.com/nlohmann/json.git
synced 2026-05-20 13:15:23 +00:00
Adjust JSON depth for SARIF output
Reduced JSON depth for SARIF conversion from 200 to 100. Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
@@ -72,7 +72,7 @@ jobs:
|
||||
$run.properties['category'] = "run-$i"
|
||||
}
|
||||
|
||||
$sarif | ConvertTo-Json -Depth 200 | Set-Content -Encoding utf8 $outputPath
|
||||
$sarif | ConvertTo-Json -Depth 100 | Set-Content -Encoding utf8 $outputPath
|
||||
Write-Host "✅ Wrote patched SARIF to $outputPath"
|
||||
|
||||
# Upload SARIF file to GitHub Code Scanning Alerts
|
||||
|
||||
Reference in New Issue
Block a user