fix: json

This commit is contained in:
Hydraallen 2024-05-03 23:36:11 +08:00
parent 8dc49f5fd9
commit 83cbc5bea5

View File

@ -8,9 +8,9 @@
}, },
{ {
"name of check": "forbiddenFile", "name of check": "forbiddenFile",
"stdout": "Checking forbidden files: OK", "stdout": "Checking forbidden files: Failed",
"exit code": 0, "exit code": 101,
"stderr": "", "stderr": "103the following forbidden files were found: examples/healthcheck/asciifile/conf.toml, \n\nTo fix it, first make a backup of your repository and then run the following commands:\nfor i in examples/healthcheck/asciifile/conf.toml ; do git filter-repo --force --invert-paths --path \\\"\\$i\\\"; done\ngit remote add origin \ngit push --set-upstream origin --force",
"errorLog": null "errorLog": null
}, },
{ {
@ -21,11 +21,11 @@
"errorLog": null "errorLog": null
}, },
{ {
"name of check" : "NonAsciiFiles", "name of check": "NonAsciiFiles",
"stdout" : "Checking for non-ascii files: Failed", "stdout": "Checking for non-ascii files: Failed",
"exit code" : 1, "exit code": 105,
"stderr" : "Non-ASCII characters found in the following files:\n\texamples/repohealth/asciifile/nonascii.txt", "stderr": "Non-ASCII characters found in the following files:\n\texamples/healthcheck/asciifile/nonascii.txt",
"errorLog" : null "errorLog": null
}, },
{ {
"name of check": "NonAsciiMsg", "name of check": "NonAsciiMsg",
@ -33,5 +33,19 @@
"exit code": 0, "exit code": 0,
"stderr": "", "stderr": "",
"errorLog": null "errorLog": null
},
{
"name of check": "ReleaseCheck",
"stdout": "Failed",
"exit code": 107,
"stderr": "wrong release tag, please use one of aborting",
"errorLog": null
},
{
"name of check": "verifyFile",
"stdout": "Checking files to be verified: FailedFailedFailedFailedFailed!",
"exit code": 101,
"stderr": "File missingFile missingFile missingFile missing",
"errorLog": null
} }
] ]