Skip to content

Commit

Permalink
Merge pull request #975 from brianteeman/identify_image_in_comment
Browse files Browse the repository at this point in the history
identify_image_in_comment
  • Loading branch information
mrT23 authored Jun 17, 2024
2 parents a4320b6 + 195f8a0 commit 8d44804
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pr_agent/tools/pr_questions.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ async def run(self):
self.git_provider.publish_comment("Preparing answer...", is_temporary=True)

# identify image
img_path = self.idenfity_image_in_comment()
img_path = self.identify_image_in_comment()
if img_path:
get_logger().debug(f"Image path identified", artifact=img_path)

Expand All @@ -78,7 +78,7 @@ async def run(self):
self.git_provider.remove_initial_comment()
return ""

def idenfity_image_in_comment(self):
def identify_image_in_comment(self):
img_path = ''
if '![image]' in self.question_str:
# assuming structure:
Expand Down

0 comments on commit 8d44804

Please sign in to comment.