mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-07-03 07:59:35 +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.
|
secret access keys.
|
||||||
"""
|
"""
|
||||||
aws_credentials_file_path = os.path.expanduser(json_credentials_file)
|
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:
|
with open(aws_credentials_file_path) as f:
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue