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.
client-spec/clarity
Marco Bonelli 2020-01-13 20:45:31 +01:00 committed by Zlatan Vasović
parent 13feab2bfd
commit c8291fdcfa
1 changed files with 2 additions and 4 deletions

View File

@ -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.
"""
################################################################################