feat: Enhance inline comment publishing in Bitbucket provider and add logging for no suggestions in pr_code_suggestions.py

This commit is contained in:
mrT23
2023-11-28 18:29:35 +02:00
parent 4521077433
commit 51e1278cd7
2 changed files with 10 additions and 1 deletions

View File

@ -119,6 +119,7 @@ class PRCodeSuggestions:
code_suggestions = []
if not data['Code suggestions']:
get_logger().info('No suggestions found to improve this PR.')
return self.git_provider.publish_comment('No suggestions found to improve this PR.')
for d in data['Code suggestions']: