Merge pull request 'secrets/sops-import: check for key.json to exist' (#237) from Mic92-secret-fix into main
This commit is contained in:
commit
148c292ea9
@ -36,7 +36,7 @@ def import_sops(args: argparse.Namespace) -> None:
|
||||
file=sys.stderr,
|
||||
)
|
||||
continue
|
||||
if (sops_secrets_folder() / k).exists():
|
||||
if (sops_secrets_folder() / k / "key.json").exists():
|
||||
print(
|
||||
f"WARNING: {k} already exists, skipping",
|
||||
file=sys.stderr,
|
||||
|
Loading…
Reference in New Issue
Block a user