We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fa008e commit c351098Copy full SHA for c351098
xgitguard/file-scanner/secret_detection.py
@@ -83,9 +83,9 @@ def check_existing_detections(file_path):
83
).hexdigest()
84
if parse_checksum:
85
if not parse_checksum in configs.hashed_files:
86
- new_hashed_file.append(file_path)
87
- new_hashed_file.append(hash_object)
88
- new_hashed_file.append(parse_checksum)
+ new_hashed_file.extend(
+ [file_path, hash_object, parse_checksum]
+ )
89
new_hashed_files.append(new_hashed_file)
90
except Exception as e:
91
logger.error(f"Hash File Write error: {e}")
0 commit comments