diff --git a/scripts/bootstrap.py b/scripts/bootstrap.py index 7039810..633c132 100644 --- a/scripts/bootstrap.py +++ b/scripts/bootstrap.py @@ -778,7 +778,7 @@ def main() -> int: """Prompt for a clone location when running outside the repository.""" nonlocal repo_root, script_dir, is_in_repo - if is_in_repo: + if is_in_repo and script_path is not None: return True if not shutil.which("git"):