From cdea4627b2aadf0f419d90355187f3b6c94dc803 Mon Sep 17 00:00:00 2001 From: zzjc1234 <2359047351@qq.com> Date: Sun, 26 May 2024 01:29:36 +0800 Subject: [PATCH] fix: out --- conf.toml | 4 ++-- nonascii.txt | 7 ------- stdin.sh | 3 --- 3 files changed, 2 insertions(+), 12 deletions(-) delete mode 100644 nonascii.txt delete mode 100644 stdin.sh diff --git a/conf.toml b/conf.toml index 6ab0f82..51674ee 100644 --- a/conf.toml +++ b/conf.toml @@ -4,14 +4,14 @@ name = "healthcheck" [stages.executor] name = "sandbox" [stages.executor.with.default] -args = ["bash", "./stdin.sh"] +args = ["./healthcheck", "-root=.", "-meta=readme", "-whitelist=stderr", "-whitelist=stdout", "-whitelist=.*\\.toml", "-whitelist=.*\\.md", "-whitelist=healthcheck", "-whitelist=.*\\.json", "-whitelist=.git.*"] env = ["PATH=/usr/bin:/bin"] cpuLimit = 10_000_000_000 memoryLimit = 104_857_600 procLimit = 50 copyInCwd = true [stages.executor.with.default.copyIn.healthcheck] -src = "./../../../build/healthcheck" +src = "./../../../../../../build/healthcheck" copyOut = ["stdout", "stderr"] [stages.executor.with.default.stdin] content = "" diff --git a/nonascii.txt b/nonascii.txt deleted file mode 100644 index 9740d7f..0000000 --- a/nonascii.txt +++ /dev/null @@ -1,7 +0,0 @@ -███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗ -████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║ -██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║ -██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║ -██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║ -╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ - diff --git a/stdin.sh b/stdin.sh deleted file mode 100644 index b1d4530..0000000 --- a/stdin.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!bash - -./build/healthcheck -root=./examples/healthcheck/asciimsg -whitelist=".*\.md" -whitelist=".*\.json" -whitelist=".*\.sh" -whitelist=".git.*" -whitelist=".*\.txt"