From fe46bdd60b3043a8af95ee746215c3c27c22759f Mon Sep 17 00:00:00 2001 From: wangzhibiao Date: Thu, 17 Sep 2026 10:42:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=B4=A8=E9=87=8F=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=EF=BC=9A=E7=9C=9F=E5=AE=9E=E5=AF=86=E9=92=A5=E6=89=AB?= =?UTF-8?q?=E6=8F=8F=E5=99=A8=E5=BF=BD=E7=95=A5=E8=87=AA=E8=BA=AB=E6=89=AB?= =?UTF-8?q?=E6=8F=8F=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/qa/real_secret_scanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/qa/real_secret_scanner.py b/scripts/qa/real_secret_scanner.py index 37c7cacd3..c86a1002a 100644 --- a/scripts/qa/real_secret_scanner.py +++ b/scripts/qa/real_secret_scanner.py @@ -73,7 +73,7 @@ def scan(): } for fpath in target_files: - if not os.path.exists(fpath): + if not os.path.exists(fpath) or os.path.abspath(fpath) == os.path.abspath(__file__): continue try: with open(fpath, 'r', encoding='utf-8', errors='ignore') as f: