diff --git a/conf.toml b/conf.toml index bd18338..1586d73 100644 --- a/conf.toml +++ b/conf.toml @@ -22,7 +22,7 @@ max = 4_096 name = "stderr" max = 4_096 [stages.parser] -name = "repohealth" +name = "healthcheck" [stages.parser.with] score = 10 comment = " + comment from toml conf" diff --git a/expected.json b/expected.json index ce18160..f7d586e 100644 --- a/expected.json +++ b/expected.json @@ -1,51 +1,12 @@ [ - { - "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": 101, - "stderr": "103the following forbidden files were found: examples/healthcheck/release/.git, examples/healthcheck/release/README.md, examples/healthcheck/release/conf.toml, examples/healthcheck/release/expected.json, examples/healthcheck/release/stdin.sh, \n\nTo fix it, first make a backup of your repository and then run the following commands:\nfor i in examples/healthcheck/release/.git examples/healthcheck/release/README.md examples/healthcheck/release/conf.toml examples/healthcheck/release/expected.json examples/healthcheck/release/stdin.sh ; 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: FailedFailedFailedFailedFailed!", - "exit code": 101, - "stderr": "File is not identicalFile missingFile missingFile missing", - "errorLog": null - } -] \ No newline at end of file + { + "name": "healthcheck", + "results": [ + { + "score": 0, + "comment": "" + } + ] + } +] +