We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 944eeb3 commit c53044eCopy full SHA for c53044e
1 file changed
dev-tools/security/detect_secrets.py
@@ -57,7 +57,7 @@ def detect_secrets(source_dir: str = "src") -> bool:
57
logger.error("Potential hardcoded secrets found:")
58
for secret in found_secrets:
59
# Security: Don't log the actual secret content, only the location
60
- location = secret.split(':')[0] if ':' in secret else 'unknown location'
+ location = secret.split(":")[0] if ":" in secret else "unknown location"
61
logger.error(f" Secret detected at: {location}")
62
return False
63
else:
0 commit comments