From e94a335255e29c410b30da1f75cb88960503cc64 Mon Sep 17 00:00:00 2001 From: Hydraallen Date: Fri, 3 May 2024 20:19:01 +0800 Subject: [PATCH] fix: json --- expected.json | 12 ++++-------- stdin.sh | 2 +- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/expected.json b/expected.json index 15846d0..b7607ab 100644 --- a/expected.json +++ b/expected.json @@ -1,13 +1,9 @@ [ { "name": "healthcheck", - "results": [ - { - "stdout": "Checking for non-ascii files: Failed", - "exit code": 1, - "stderr": "Non-ASCII characters found in the following files:\n\texamples/repohealth/asciifile/nonascii.txt", - "errorLog": null - } - ] + "stdout": "Checking for non-ascii files: Failed", + "exit code": 1, + "stderr": "Non-ASCII characters found in the following files:\n\texamples/repohealth/asciifile/nonascii.txt", + "errorLog": null } ] \ No newline at end of file diff --git a/stdin.sh b/stdin.sh index db2aa0f..c4eaedf 100644 --- a/stdin.sh +++ b/stdin.sh @@ -1,3 +1,3 @@ #!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"