We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b353785 commit 850705fCopy full SHA for 850705f
1 file changed
analyze.sh
@@ -101,7 +101,7 @@ eval ${CMD}
101
if [ "$OUTPUT_TYPE" == "sarif" ] && [ "$BASE_PATH" != "" ]; then
102
# prepend the pyhsical path
103
echo "Transform sarif file to include the physical path"
104
- cat resultspre.sarif | jq -c "(.runs[].results[].locations[].physicalLocation.artifactLocation.uri) |=\"$BASE_PATH\"+." > "$OUTPUT"
105
- cat $OUTPUT
+ cat resultspre.sarif | jq -c "(.runs[].results[].locations[].physicalLocation.artifactLocation.uri) |=\"$BASE_PATH\"+." > resultspre2.sarif
+ cat resultspre2.sarif | jq -c '(.runs[].invocations[].executionSuccessful)=true' > results.sarif
106
fi
107
0 commit comments