ff
This commit is contained in:
@@ -778,7 +778,7 @@ def main() -> int:
|
|||||||
"""Prompt for a clone location when running outside the repository."""
|
"""Prompt for a clone location when running outside the repository."""
|
||||||
nonlocal repo_root, script_dir, is_in_repo
|
nonlocal repo_root, script_dir, is_in_repo
|
||||||
|
|
||||||
if is_in_repo:
|
if is_in_repo and script_path is not None:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
if not shutil.which("git"):
|
if not shutil.which("git"):
|
||||||
|
|||||||
Reference in New Issue
Block a user