Skip to content

Commit 8bbacd4

Browse files
brunoborgesCopilot
andauthored
Update src/specify_cli/__init__.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent eb3c63f commit 8bbacd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/specify_cli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ def init(
796796
# Handle '.' as shorthand for current directory (equivalent to --here)
797797
if project_name == ".":
798798
here = True
799-
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.
799+
project_name = None # Clear project_name to use existing validation logic
800800

801801
# Validate arguments
802802
if here and project_name:

0 commit comments

Comments
 (0)