From 5f6cb1871f973d86f28a4b95f1184252eb60ab35 Mon Sep 17 00:00:00 2001 From: zzjc1234 <2359047351@qq.com> Date: Sun, 26 May 2024 00:30:32 +0800 Subject: [PATCH] fix: out --- expected.json | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/expected.json b/expected.json index a48404b..f44797f 100644 --- a/expected.json +++ b/expected.json @@ -1,9 +1,11 @@ -{ - "name": "healthcheck", - "results": [ - { - "score": 0, - "comment": "{healthcheck [{0 [{\"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: Failed\",\"exit code\":104,\"stderr\":\"1 important project files missing\\n\\tno changelog\\\\.* file found, please refer to https://keepachangelog.com/en/1.1.0/ for more information\\n\",\"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}]}]}" - } - ] -} +[ + { + "name": "healthcheck", + "results": [ + { + "score": 0, + "comment": "{healthcheck [{0 [{\"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: Failed\",\"exit code\":104,\"stderr\":\"1 important project files missing\\n\\tno changelog\\\\.* file found, please refer to https://keepachangelog.com/en/1.1.0/ for more information\\n\",\"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}]}]}" + } + ] + } +]