Skip to content

Commit

Permalink
feat(action): fix empty not-updated section
Browse files Browse the repository at this point in the history
  • Loading branch information
IamAbbey committed Oct 9, 2024
1 parent fa05099 commit 15e069c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion actions_helper/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,15 @@ def cmd_dependency_update(dry_run: str):
#### Not Updated
After merging this pull request, the following packages will **not** be on the latest version:
{
f"""After merging this pull request, the following packages will ** not ** be on the latest version:
```
{packages.strip()}
```
"""
if packages.strip() else 'All packages are up-to-date.'
}
"""
print(rendered_message)

Expand Down

0 comments on commit 15e069c

Please sign in to comment.