Proper error messages on npm and port check failures, avoid leaking asyncio tasks.

This commit is contained in:
2026-09-12 05:50:52 +00:00
parent 4c0be1bfa7
commit 02b3890cd3
3 changed files with 20 additions and 16 deletions
+3 -1
View File
@@ -1212,7 +1212,9 @@ def ensure_python_project(project_dir: Path, *, dry: bool = False) -> bool:
return True
def ensure_frontend(project_dir: Path, *, vue_args: list[str] | None = None, dry: bool = False) -> bool:
def ensure_frontend(
project_dir: Path, *, vue_args: list[str] | None = None, dry: bool = False
) -> bool:
"""Ensure frontend directory exists with a Vue project, run create-vue if needed."""
frontend_dir = project_dir / "frontend"
package_json = frontend_dir / "package.json"