This commit is contained in:
parent
86c6d1f02a
commit
e5afd4a12f
|
@ -194,7 +194,7 @@ class SecretLoader:
|
|||
return None
|
||||
|
||||
cmd = ['pass', 'show', f'{self.pass_folder}/{secret_name.lower()}']
|
||||
process = subprocess.run(cmd, capture_output=True)
|
||||
process = subprocess.run(cmd, capture_output=True, check=True)
|
||||
if process.returncode:
|
||||
return None
|
||||
|
||||
|
@ -240,5 +240,6 @@ class SecretLoader:
|
|||
|
||||
solutions_list = '\n'.join([f'* {s}' for s in solutions_list])
|
||||
return ERROR_MESSAGE_FORMAT.format(
|
||||
secret_name=secret_name, solutions_list=solutions_list,
|
||||
secret_name=secret_name,
|
||||
solutions_list=solutions_list,
|
||||
)
|
||||
|
|
1
test/__init__.py
Normal file
1
test/__init__.py
Normal file
|
@ -0,0 +1 @@
|
|||
# Dummy
|
Loading…
Reference in New Issue
Block a user