修复质量验证:真实密钥扫描器忽略自身扫描规则
This commit is contained in:
1 parent
5abcc1700c
commit
fe46bdd60b
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user