JSON use double quote and not simple quote, JSus.christ

This commit is contained in:
Alexandre Aubin 2024-09-01 18:11:49 +02:00
parent eff66e2aac
commit 0ccab26a7d

View file

@ -31,7 +31,7 @@ _STUFF_TO_RUN_BEFORE_INITIAL_SNAPSHOT() {
if [[ $syntax_issue == false ]]; then if [[ $syntax_issue == false ]]; then
log_report_test_success log_report_test_success
else else
echo "{'level': 0}" >$result_json echo '{"level": 0}' >$result_json
touch $summary_png touch $summary_png
log_error "Obvious syntax issues found which will make the scripts crash ... not running the actual tests until these are fixed" log_error "Obvious syntax issues found which will make the scripts crash ... not running the actual tests until these are fixed"
# Exit with 0 instead of 1 such that the job gets flagged as failure and not as error # Exit with 0 instead of 1 such that the job gets flagged as failure and not as error