From f22b076fdbc56d8d91aa68b53949d3c3090a3dc6 Mon Sep 17 00:00:00 2001 From: u7516709 Date: Wed, 31 Jan 2024 00:21:45 +1100 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .ci/check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/check.py b/.ci/check.py index fe32832..160a531 100644 --- a/.ci/check.py +++ b/.ci/check.py @@ -55,7 +55,7 @@ def validate_rule_template(md_file_path): else: log_file.write(f"{md_file_path} 不符合规则模板: {message}\n") print(f"{md_file_path} 不符合规则模板: {message}") - sys.exit() + sys.exit(1)