Bug fixes

This commit is contained in:
Ori Kotek
2023-08-01 15:58:23 +03:00
parent d7b77764c3
commit 8ae936e504
4 changed files with 6 additions and 3 deletions

View File

@ -32,7 +32,7 @@ class PRInformationFromUser:
self.patches_diff = None
self.prediction = None
async def generate_questions(self):
async def run(self):
logging.info('Generating question to the user...')
if get_settings().config.publish_output:
self.git_provider.publish_comment("Preparing questions...", is_temporary=True)

View File

@ -194,7 +194,7 @@ class PRReviewer:
user = self.git_provider.get_user_id()
# Add help text if not in CLI mode
if get_settings().get("CONFIG.CLI_MODE", False):
if not get_settings().get("CONFIG.CLI_MODE", False):
markdown_text += "\n### How to use\n"
if user and '[bot]' not in user:
markdown_text += bot_help_text(user)