Skip to content

Commit

Permalink
修改check
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldWaterFall committed Jan 30, 2024
1 parent c01dddf commit de18efa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .ci/check.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import re
import os
from datetime import datetime
import sys
'''
# @author : Shiqiding
# @description: 对prompt进行格式检查,可以将格式不对的.md文件输出带文件名为时间戳的.txt文件(作为日志),并打印出test/prompt目录下所有文件的情况
Expand Down Expand Up @@ -54,6 +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()



0 comments on commit de18efa

Please sign in to comment.