docs/tests: fix remaining dead links and add export empty-yaml test

This commit is contained in:
Andreas Michael Fleckl
2026-02-17 16:10:02 +01:00
parent 421191ccaf
commit 9c8ec21479
4 changed files with 34 additions and 135 deletions

View File

@@ -174,7 +174,7 @@ def export(ctx, output_format: str, global_config: bool):
ctx.exit(1)
with open(config_file) as f:
config_data = yaml.safe_load(f)
config_data = yaml.safe_load(f) or {}
# Redact sensitive data
if 'api_key' in config_data: