Skip to content

Commit 8721478

Browse files
committed
Fix broken tests
1 parent 8c7035a commit 8721478

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/render_engine_cli/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,8 @@ def get_editor(ctx: click.Context, param: click.Option, value: str) -> str | Non
216216

217217
def handle_content_file(ctx: click.Context, param: click.Option, value: str) -> str | None:
218218
"""Handle the content file"""
219+
if not value:
220+
return None
219221
if value == "stdin":
220222
content = list()
221223
click.secho('Please enter the content. To finish, put a "." on a blank line.', fg="green")

0 commit comments

Comments
 (0)