mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-11 18:35:18 +00:00
bug-fix_azuredevops-new-file
This commit is contained in:
parent
4b05a3e858
commit
a476e85fa7
1 changed files with 15 additions and 12 deletions
|
|
@ -336,6 +336,9 @@ class AzureDevopsProvider(GitProvider):
|
|||
version = GitVersionDescriptor(
|
||||
version=base_sha.commit_id, version_type="commit"
|
||||
)
|
||||
if edit_type == EDIT_TYPE.ADDED:
|
||||
original_file_content_str = ""
|
||||
else:
|
||||
try:
|
||||
original_file_content_str = self.azure_devops_client.get_item(
|
||||
repository_id=self.repo_slug,
|
||||
|
|
|
|||
Loading…
Reference in a new issue