Skip to content

Commit

Permalink
Also do this cause why not
Browse files Browse the repository at this point in the history
  • Loading branch information
irismessage committed Dec 14, 2024
1 parent c87f1ca commit a4eda0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/actions_changelogs_since_last_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def changelog_entries_to_message_lines(entries: Iterable[ChangelogEntry]) -> lis

# if a single line is longer than the limit, it needs to be truncated
if len(message) > DISCORD_SPLIT_LIMIT:
message = message[: DISCORD_SPLIT_LIMIT - 100] + " [...]"
message = message[: DISCORD_SPLIT_LIMIT - 100].rstrip() + " [...]"

if url is not None:
line = f"{emoji} - {message} [PR]({url}) \n"
Expand Down

0 comments on commit a4eda0f

Please sign in to comment.