From 91da18ce4556286036f8c65ecfc049cba6c1d6fc Mon Sep 17 00:00:00 2001 From: zzjc1234 <2359047351@qq.com> Date: Sat, 25 May 2024 23:34:26 +0800 Subject: [PATCH] fix: out --- expected.json | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/expected.json b/expected.json index ebfdc98..2d32064 100644 --- a/expected.json +++ b/expected.json @@ -1,9 +1,11 @@ [ { "name": "healthcheck", - "results": [{ - "scores": 0, - "comments":"[{"name of check":"RepoSize","stdout":"Checking repository size: OK","exit code":0,"stderr":"","errorLog":null},{"name of check":"forbiddenFile","stdout":"Checking forbidden files: OK","exit code":0,"stderr":"","errorLog":null},{"name of check":"metaFile","stdout":"Checking the existence of meta file: OK","exit code":0,"stderr":"","errorLog":null},{"name of check":"NonAsciiFiles","stdout":"Checking for non-ascii files: OK","exit code":0,"stderr":"","errorLog":null},{"name of check":"NonAsciiMsg","stdout":"Checking for non-ASCII characters in commit message: OK","exit code":0,"stderr":"","errorLog":null}]" - }] - } + "results": [ + { + "scores": 0, + "comments": '[{"name of check":"RepoSize","stdout":"Checking repository size: OK","exit code":0,"stderr":"","errorLog":null},{"name of check":"forbiddenFile","stdout":"Checking forbidden files: OK","exit code":0,"stderr":"","errorLog":null},{"name of check":"metaFile","stdout":"Checking the existence of meta file: OK","exit code":0,"stderr":"","errorLog":null},{"name of check":"NonAsciiFiles","stdout":"Checking for non-ascii files: OK","exit code":0,"stderr":"","errorLog":null},{"name of check":"NonAsciiMsg","stdout":"Checking for non-ASCII characters in commit message: OK","exit code":0,"stderr":"","errorLog":null}]', + } + ] + } ]