Skip to content

Commit 987baea

Browse files
committed
Clean up warnings for api_keys in generator ids
1 parent b9a2e4d commit 987baea

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dreadnode_cli/model/config.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ def check_for_api_key_in_generator_id(cls, value: str) -> str:
2020
"""Print a warning if an API key is included in the generator ID."""
2121

2222
if ",api_key=" in value:
23-
print()
24-
print(f":warning: API keys should not be included in generator ids: [bold]{value}[/]")
23+
print(f":heavy_exclamation_mark: API keys should not be included in generator ids: [bold]{value}[/]")
2524
print()
2625

2726
return value

0 commit comments

Comments
 (0)