Skip to content

Commit

Permalink
- Implemented unit tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpojer committed Nov 15, 2024
1 parent b6448fd commit dec45d1
Show file tree
Hide file tree
Showing 2 changed files with 419 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def run(self) -> None:

# check release notes presence in defined location
pr_body = pr_data.get("body", "")
if not pr_body.strip():
if len(pr_body.strip()) == 0:
logger.error("Error: Pull request description is empty.")
self.handle_failure()

Expand Down
Loading

0 comments on commit dec45d1

Please sign in to comment.