Skip to content

Commit

Permalink
fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zckly committed Dec 9, 2024
1 parent 81894e5 commit 7c47e80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/create_mcp_server/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ def get_package_directory(path: Path) -> Path:


def copy_template(
path: Path, name: str, description: str, version: str = "0.1.0", template: str = "blank"
path: Path, name: str, description: str, version: str = "0.1.0", template_name: str = "blank"
) -> None:
"""Copy template files into src/<project_name>"""
template_dir = Path(__file__).parent / "template"
if template == "notes":
if template_name == "notes":
template_dir = template_dir / "notes"

target_dir = get_package_directory(path)
Expand Down

0 comments on commit 7c47e80

Please sign in to comment.