Skip to content

Commit

Permalink
Merge pull request #976 from brianteeman/get_changlog_file
Browse files Browse the repository at this point in the history
get_changlog_file
  • Loading branch information
mrT23 authored Jun 17, 2024
2 parents 73ec67b + 8463aaa commit a4320b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pr_agent/tools/pr_update_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self, pr_url: str, cli_mode=False, args=None, ai_handler: partial[B
self.git_provider.get_languages(), self.git_provider.get_files()
)
self.commit_changelog = get_settings().pr_update_changelog.push_changelog_changes
self._get_changlog_file() # self.changelog_file_str
self._get_changelog_file() # self.changelog_file_str

self.ai_handler = ai_handler()
self.ai_handler.main_pr_language = self.main_language
Expand Down Expand Up @@ -163,7 +163,7 @@ def _get_default_changelog(self):
"""
return example_changelog

def _get_changlog_file(self):
def _get_changelog_file(self):
try:
self.changelog_file = self.git_provider.get_pr_file_content(
"CHANGELOG.md", self.git_provider.get_pr_branch()
Expand Down

0 comments on commit a4320b6

Please sign in to comment.