File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -134,14 +134,7 @@ jobs:
134134 dotnet tool run DotnetCtrfJsonReporter -p "$trx" -d "$outdir" -f "ctrf-report.json"
135135
136136 # Strip prefix from names; DO NOT touch suite; set filePath to OS
137- jq --arg os "$os" --arg strip "$strip" -f - "$out" > "${out}.tmp" <<'JQ' && mv "${out}.tmp" "$out"
138- .results |= map(
139- (.name |= ((. // "") | sub($strip; ""))) |
140- (.fullName? |= ((. // "") | sub($strip; ""))) |
141- (.className?|= ((. // "") | sub($strip; ""))) |
142- (.filePath = $os)
143- )
144- JQ
137+ jq --arg os "$os" --arg strip "$strip" '.results |= map((.fullName? |= ((. // "") | sub($strip; ""))) | (.className? |= ((. // "") | sub($strip; ""))) | (.filePath = $os))' "$out" > "${out}.tmp" && mv "${out}.tmp" "$out"
145138
146139 echo "Converted & normalized $trx -> $out"
147140 conv=$((conv+1))
You can’t perform that action at this time.
0 commit comments