mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
Remove unnecessary newlines in send-to-bot messages. (#3754)
GitHub wraps text in comments even when a single newline is encountered. This made comments by @tldr-bot look awkward.
This commit is contained in:
parent
13feab2bfd
commit
c8291fdcfa
1 changed files with 2 additions and 4 deletions
|
@ -8,8 +8,7 @@ import urllib.request
|
|||
BOT_URL = 'https://tldr-bot.starbeamrainbowlabs.com'
|
||||
|
||||
COMMENT_ERROR="""
|
||||
The [build](https://travis-ci.org/tldr-pages/tldr/builds/{build_id})
|
||||
for this PR failed with the following error(s):
|
||||
The [build](https://travis-ci.org/tldr-pages/tldr/builds/{build_id}) for this PR failed with the following error(s):
|
||||
|
||||
```
|
||||
{content}
|
||||
|
@ -23,8 +22,7 @@ Hello! I've noticed something unusual when checking this PR:
|
|||
|
||||
{content}
|
||||
|
||||
Is this intended? If so, just ignore this comment. Otherwise, please
|
||||
double-check the commits.
|
||||
Is this intended? If so, just ignore this comment. Otherwise, please double-check the commits.
|
||||
"""
|
||||
|
||||
################################################################################
|
||||
|
|
Loading…
Add table
Reference in a new issue