Don't add "How to use" when running from the command line - a small correction #2

This commit is contained in:
Ori Kotek
2023-07-06 18:33:03 +03:00
parent f1ab6ec88f
commit 9e96fbab1f

View File

@ -96,7 +96,6 @@ class PRReviewer:
if not self.cli_mode: if not self.cli_mode:
markdown_text += "\n### How to use\n" markdown_text += "\n### How to use\n"
if user and '[bot]' not in user: if user and '[bot]' not in user:
markdown_text += "\n### How to use\n"
markdown_text += f"> Tag me in a comment '@{user}' to ask for a new review after you update the PR.\n" markdown_text += f"> Tag me in a comment '@{user}' to ask for a new review after you update the PR.\n"
markdown_text += "> You can also tag me and ask any question, " \ markdown_text += "> You can also tag me and ask any question, " \
f"for example '@{user} is the PR ready for merge?'" f"for example '@{user} is the PR ready for merge?'"