From 4d195430d9ea178db22cdea1a99c159703b39904 Mon Sep 17 00:00:00 2001 From: zzjc1234 <2359047351@qq.com> Date: Sat, 25 May 2024 23:44:51 +0800 Subject: [PATCH] fix: out --- expected.json | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/expected.json b/expected.json index 5b51d85..8aa5db8 100644 --- a/expected.json +++ b/expected.json @@ -1,10 +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": [ + { + "score": 0, + "comment": "[{\"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}]" + } + ] } ]