mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 02:45:18 +00:00
fix: Remove trailing comma in gerrit provider prepare_repo function
This commit is contained in:
parent
17a90c536f
commit
3f632835c5
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ def prepare_repo(url: urllib3.util.Url, project, refspec):
|
||||||
repo_url = (f"{url.scheme}://{url.auth}@{url.host}:{url.port}/{project}")
|
repo_url = (f"{url.scheme}://{url.auth}@{url.host}:{url.port}/{project}")
|
||||||
|
|
||||||
directory = pathlib.Path(mkdtemp())
|
directory = pathlib.Path(mkdtemp())
|
||||||
clone(repo_url, directory),
|
clone(repo_url, directory)
|
||||||
fetch(repo_url, refspec, cwd=directory)
|
fetch(repo_url, refspec, cwd=directory)
|
||||||
checkout(cwd=directory)
|
checkout(cwd=directory)
|
||||||
return directory
|
return directory
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue