mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-15 20:35:17 +00:00
Revert title() to capitalize()
This commit is contained in:
parent
560d30dbb1
commit
39c1866121
1 changed files with 1 additions and 1 deletions
|
|
@ -297,7 +297,7 @@ class PRDescription:
|
||||||
value = self.file_label_dict
|
value = self.file_label_dict
|
||||||
key_publish = "PR changes walkthrough"
|
key_publish = "PR changes walkthrough"
|
||||||
else:
|
else:
|
||||||
key_publish = key.rstrip(':').replace("_", " ").title()
|
key_publish = key.rstrip(':').replace("_", " ").capitalize()
|
||||||
pr_body += f"## {key_publish}\n"
|
pr_body += f"## {key_publish}\n"
|
||||||
if 'walkthrough' in key.lower():
|
if 'walkthrough' in key.lower():
|
||||||
if self.git_provider.is_supported("gfm_markdown"):
|
if self.git_provider.is_supported("gfm_markdown"):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue