mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-06-29 06:00:45 +00:00
[ISS-1258][DC] removing impossible check
This commit is contained in:
parent
2173e8726c
commit
1d9d4ec02f
1 changed files with 0 additions and 2 deletions
|
|
@ -43,8 +43,6 @@ def get_aws_secrets_from_json(json_credentials_file: str) -> set[str]:
|
|||
secret access keys.
|
||||
"""
|
||||
aws_credentials_file_path = os.path.expanduser(json_credentials_file)
|
||||
if not os.path.exists(aws_credentials_file_path):
|
||||
return set()
|
||||
|
||||
with open(aws_credentials_file_path) as f:
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue