Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 8, 2025
1 parent a5c6d70 commit e190e35
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions marimo/_cli/convert/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ def convert(
if output:
output_path = Path(output)
if prompt_to_overwrite(output_path):
# Make dirs if needed
maybe_make_dirs(output)
Path(output).write_text(notebook, encoding="utf-8")
echo(f"Converted notebook saved to {output}")
# Make dirs if needed
maybe_make_dirs(output)
Path(output).write_text(notebook, encoding="utf-8")
echo(f"Converted notebook saved to {output}")
else:
echo(notebook)

0 comments on commit e190e35

Please sign in to comment.