codelion commited on
Commit
16c3ca8
·
verified ·
1 Parent(s): 9479251

Update github_repo_analyzer.py

Browse files
Files changed (1) hide show
  1. github_repo_analyzer.py +2 -2
github_repo_analyzer.py CHANGED
@@ -46,8 +46,8 @@ def get_repo_info(input_str):
46
  else:
47
  return input_str.split("/")
48
 
49
- def clone_repo(owner, repo_name, temp_dir):
50
- repo_url = f"https://github.com/{owner}/{repo_name}.git"
51
 
52
  # Clone the repository
53
  repo = Repo.clone_from(repo_url, temp_dir)
 
46
  else:
47
  return input_str.split("/")
48
 
49
+ def clone_repo(owner, repo_name, temp_dir, repo_url):
50
+ repo_url = f"{repo_url}.git"
51
 
52
  # Clone the repository
53
  repo = Repo.clone_from(repo_url, temp_dir)