Skip to content

Commit 0c4c1bd

Browse files
committed
Updated config.yml
1 parent c3fae40 commit 0c4c1bd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

.circleci/config.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,13 @@ jobs:
5555
name: "Create Summary JSON for Blocking findings only"
5656
when: always
5757
command: |
58-
findings_summary='{"results":[]}'
5958
for k in $(jq '.results | keys | .[]' findings.json); do
6059
value=$(jq -r ".results[$k]" findings.json);
6160
message=$(jq -r '.extra.message' \<<< "$value");
6261
path=$(jq -r '.path' \<<< "$value");
6362
line=$(jq -r '.start.line' \<<< "$value");
6463
reference=$(jq -r '.extra.metadata."semgrep.url"' \<<< "$value");
6564
semgrep_policy=$(jq -r '.extra.metadata."semgrep.policy".slug' \<<< "$value");
66-
findings_summary="$(jq --arg val "$k" .results += [$message])"
6765
echo $message
6866
echo $path
6967
echo $line

0 commit comments

Comments
 (0)