From 721fa459fa9408b9628e143120a378a7a500584e Mon Sep 17 00:00:00 2001 From: zzjc1234 <2359047351@qq.com> Date: Tue, 18 Jun 2024 16:58:15 +0800 Subject: [PATCH] feat: markdown style output --- expected.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/expected.json b/expected.json index 0a3ae2c..bf34a56 100644 --- a/expected.json +++ b/expected.json @@ -4,9 +4,8 @@ "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: README.md, conf.toml, expected.json, healthcheck, stderr, stdin.sh, stdout, \\n\\nTo fix it, first make a backup of your repository and then run the following commands:\\nfor i in README.md conf.toml expected.json healthcheck stderr stdin.sh 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: 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 of check\":\"ReleaseCheck\",\"stdout\":\"Checking release tag: OK\",\"exit code\":0,\"stderr\":\"Fine\",\"errorLog\":null},{\"name of check\":\"verifyFile\",\"stdout\":\"Checking files to be verified: FailedFailed!\",\"exit code\":101,\"stderr\":\"File is not identical\",\"errorLog\":null}]" + "comment": "## Forbidden File Check Failed:\nThe 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\n## Release Tag Check Failed:\nWrong release tag 'a0'. Please use one of 'h1', 'h2', 'test'.\n## Directory File Check Failed:\nFile healthcheck is altered. Please revert your changes or contact the teaching team if you have a valid reason for adjusting them.\n" } ] } ] -