mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
Send to bot: rename script
This commit is contained in:
parent
134e63f318
commit
2ae688016a
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ function pr_test {
|
|||
if [ -n "$errs" ]; then
|
||||
echo -e "Test failed!\n$errs\n" >&2
|
||||
echo 'Sending errors to tldr-bot.' >&2
|
||||
echo -n "$errs" | python3 scripts/send_to_bot.py report-errors
|
||||
echo -n "$errs" | python3 scripts/send-to-bot.py report-errors
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ function pr_check {
|
|||
if [ -n "$msgs" ]; then
|
||||
echo -e "\nCheck PR reported the following message(s):\n$msgs\n" >&2
|
||||
echo 'Sending check results to tldr-bot.' >&2
|
||||
echo -n "$msgs" | python3 scripts/send_to_bot.py report-check-results
|
||||
echo -n "$msgs" | python3 scripts/send-to-bot.py report-check-results
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue