Skip to content

Commit 30e6910

Browse files
Fix F821 ruff error: replace typer with click in MCP except block
1 parent 0fa1674 commit 30e6910

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/deploydiff/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ def mcp():
8686
try:
8787
from click_to_mcp import serve_stdio
8888
except ImportError:
89-
typer.echo("Error: click-to-mcp is required for MCP support. Install with: pip install click-to-mcp", err=True)
90-
raise typer.Exit(code=1)
89+
click.echo("Error: click-to-mcp is required for MCP support. Install with: pip install click-to-mcp", err=True)
90+
raise click.Exit(code=1)
9191
serve_stdio(main, name="deploydiff")
9292

9393

0 commit comments

Comments
 (0)