From eb3c63fe0fe143a93c5c021b8b92268e6ed206a9 Mon Sep 17 00:00:00 2001 From: Bruno Borges Date: Wed, 24 Sep 2025 23:22:15 -0700 Subject: [PATCH] Update src/specify_cli/__init__.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- src/specify_cli/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/specify_cli/__init__.py b/src/specify_cli/__init__.py index 36b7418..6ce0fdb 100644 --- a/src/specify_cli/__init__.py +++ b/src/specify_cli/__init__.py @@ -796,7 +796,7 @@ def init( # Handle '.' as shorthand for current directory (equivalent to --here) if project_name == ".": here = True - project_name = None # Clear it so validation logic works correctly + project_name = None # This transformation allows the existing validation logic to work unchanged, since it was designed to handle the case where here=True and project_name=None. # Validate arguments if here and project_name: