Skip to content

Commit 13223bd

Browse files
Update server/routers/git_workflow.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent cde6bd5 commit 13223bd

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

server/routers/git_workflow.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,9 @@
2525

2626

2727
def _get_project_path(project_name: str) -> Path | None:
28-
"""Get project path from registry with validation."""
29-
from server.routers.design_tokens import validate_and_get_project_path
30-
31-
# Use the validated path from design_tokens to prevent security issues
32-
return validate_and_get_project_path(project_name)
28+
"""Get project path from registry."""
29+
from ..registry import get_project_path
30+
return get_project_path(project_name)
3331

3432

3533
# ============================================================================

0 commit comments

Comments
 (0)