fix: json

This commit is contained in:
Hydraallen 2024-05-03 20:19:01 +08:00
parent 5e57f25404
commit e94a335255
2 changed files with 5 additions and 9 deletions

View File

@ -1,13 +1,9 @@
[ [
{ {
"name": "healthcheck", "name": "healthcheck",
"results": [
{
"stdout": "Checking for non-ascii files: Failed", "stdout": "Checking for non-ascii files: Failed",
"exit code": 1, "exit code": 1,
"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/repohealth/asciifile/nonascii.txt",
"errorLog": null "errorLog": null
} }
] ]
}
]

View File

@ -1,3 +1,3 @@
#!bash #!bash
./build/healthcheck -root=./examples/healthcheck/asciifile -whitelist=".*\.md" -whitelist=".*\.json" -whitelist=".*\.sh" -whitelist=".git.*" -whitelist=".*\.txt" ./build/healthcheck -root=./examples/repohealth/asciifile -whitelist=".*\.md" -whitelist=".*\.json" -whitelist=".*\.sh" -whitelist=".git.*" -whitelist=".*\.txt"