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",
{ "exit code": 1,
"stdout": "Checking for non-ascii files: Failed", "stderr": "Non-ASCII characters found in the following files:\n\texamples/repohealth/asciifile/nonascii.txt",
"exit code": 1, "errorLog": null
"stderr": "Non-ASCII characters found in the following files:\n\texamples/repohealth/asciifile/nonascii.txt",
"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"