From 808ca48605956236b8766d6389c9bc47ea0d40fe Mon Sep 17 00:00:00 2001 From: mrT23 Date: Thu, 27 Jul 2023 08:48:39 +0300 Subject: [PATCH] if not self.commit_changelog: --- pr_agent/tools/pr_update_changelog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pr_agent/tools/pr_update_changelog.py b/pr_agent/tools/pr_update_changelog.py index 901c5b45..1b06c381 100644 --- a/pr_agent/tools/pr_update_changelog.py +++ b/pr_agent/tools/pr_update_changelog.py @@ -93,8 +93,8 @@ class PRUpdateChangelog: else: new_file_content = answer - if not self.cli_mode and self.commit_changelog: - answer += "\n\n\n>to commit the new contnet to the CHANGELOG.md file, please type:" \ + if not self.commit_changelog: + answer += "\n\n\n>to commit the new content to the CHANGELOG.md file, please type:" \ "\n>'/update_changelog -commit'\n" if settings.config.verbosity_level >= 2: