From f94d93627f19ce5b3d171e7014e2486af4a3f44d Mon Sep 17 00:00:00 2001 From: zzjc1234 <2359047351@qq.com> Date: Sun, 26 May 2024 01:25:44 +0800 Subject: [PATCH] fix: out --- expected.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expected.json b/expected.json index 3f9ac92..fa262c2 100644 --- a/expected.json +++ b/expected.json @@ -4,7 +4,7 @@ "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: Failed\",\"exit code\":103,\"stderr\":\"103the following forbidden files were found: conf.toml, healthcheck, stderr, stdout, \\n\\nTo fix it, first make a backup of your repository and then run the following commands:\\nfor i in conf.toml healthcheck stderr stdout ; do git filter-repo --force --invert-paths --path \\\\\"\\$i\\\\\"; done\\ngit remote add origin \\ngit push --set-upstream origin --force\",\"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: Failed\",\"exit code\":105,\"stderr\":\"Non-ASCII characters found in the following files:\\n\\tnonascii.txt\",\"errorLog\":null},{\"name of check\":\"NonAsciiMsg\",\"stdout\":\"Checking for non-ASCII characters in commit message: OK\",\"exit code\":0,\"stderr\":\"\",\"errorLog\":null}]" + "comment": "[{\"name of check\":\"RepoSize\",\"stdout\":\"Checking repository size: OK\",\"exit code\":0,\"stderr\":\"\",\"errorLog\":null},{\"name of check\":\"forbiddenFile\",\"stdout\":\"Checking forbidden files: Failed\",\"exit code\":103,\"stderr\":\"103the following forbidden files were found: conf.toml, healthcheck, stderr, stdout, \\n\\nTo fix it, first make a backup of your repository and then run the following commands:\\nfor i in conf.toml healthcheck stderr stdout ; do git filter-repo --force --invert-paths --path \\\\\\\"\\$i\\\\\\\"; done\\ngit remote add origin \\ngit push --set-upstream origin --force\",\"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: Failed\",\"exit code\":105,\"stderr\":\"Non-ASCII characters found in the following files:\\n\\tnonascii.txt\",\"errorLog\":null},{\"name of check\":\"NonAsciiMsg\",\"stdout\":\"Checking for non-ASCII characters in commit message: OK\",\"exit code\":0,\"stderr\":\"\",\"errorLog\":null}]" } ] }