mirror of
https://github.com/nlohmann/json.git
synced 2025-11-23 19:34:10 +08: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:
2
.github/workflows/msvc.yml
vendored
2
.github/workflows/msvc.yml
vendored
@@ -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