Skip to content

Commit 6135bf3

Browse files
Apply suggestion from @Copilot
El comando jq tiene un escape incorrecto. La barra invertida adicional antes de la comilla de cierre causará un error de sintaxis. Debería ser:jq --raw-output '"PASS \(map(select(.pass == true)) | length)/\(length)"' "$json_report" Co-authored-by: Copilot <[email protected]>
1 parent 9acf2c0 commit 6135bf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/codeql_unit_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ jobs:
170170
run: |
171171
for json_report in *-test-results-*/test_report_*
172172
do
173-
jq --raw-output '"PASS \(map(select(.pass == true)) | length)/\(length)'" $json_report
173+
jq --raw-output 'PASS \(map(select(.pass == true)) | length)/\(length)' $json_report
174174
done
175175
FAILING_TESTS=$(jq --raw-output '.[] | select(.pass == false)' *-test-results-*/test_report_*.json)
176176
if [[ ! -z "$FAILING_TESTS" ]]; then

0 commit comments

Comments
 (0)