From 0ccab26a7dea9e18ff425f23d4ad864aa06111b7 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 1 Sep 2024 18:11:49 +0200 Subject: [PATCH] JSON use double quote and not simple quote, JSus.christ --- lib/tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tests.sh b/lib/tests.sh index c2a8a0d..d9570fd 100644 --- a/lib/tests.sh +++ b/lib/tests.sh @@ -31,7 +31,7 @@ _STUFF_TO_RUN_BEFORE_INITIAL_SNAPSHOT() { if [[ $syntax_issue == false ]]; then log_report_test_success else - echo "{'level': 0}" >$result_json + echo '{"level": 0}' >$result_json touch $summary_png 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