Skip to content

Commit 850705f

Browse files
committed
change executionSuccessful value for gh compatibility
1 parent b353785 commit 850705f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

analyze.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ eval ${CMD}
101101
if [ "$OUTPUT_TYPE" == "sarif" ] && [ "$BASE_PATH" != "" ]; then
102102
# prepend the pyhsical path
103103
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
104+
cat resultspre.sarif | jq -c "(.runs[].results[].locations[].physicalLocation.artifactLocation.uri) |=\"$BASE_PATH\"+." > resultspre2.sarif
105+
cat resultspre2.sarif | jq -c '(.runs[].invocations[].executionSuccessful)=true' > results.sarif
106106
fi
107107

0 commit comments

Comments
 (0)