Skip to content

Commit

Permalink
Revert title() to capitalize()
Browse files Browse the repository at this point in the history
  • Loading branch information
zmeir committed Jan 4, 2024
1 parent 560d30d commit 39c1866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pr_agent/tools/pr_description.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def _prepare_pr_answer(self) -> Tuple[str, str]:
value = self.file_label_dict
key_publish = "PR changes walkthrough"
else:
key_publish = key.rstrip(':').replace("_", " ").title()
key_publish = key.rstrip(':').replace("_", " ").capitalize()
pr_body += f"## {key_publish}\n"
if 'walkthrough' in key.lower():
if self.git_provider.is_supported("gfm_markdown"):
Expand Down

0 comments on commit 39c1866

Please sign in to comment.