From 2ae688016a4a040c61ab8734ead76b0e2468a97f Mon Sep 17 00:00:00 2001 From: Marco Bonelli Date: Mon, 18 Nov 2019 22:58:03 +0100 Subject: [PATCH] Send to bot: rename script --- scripts/{send_to_bot.py => send-to-bot.py} | 0 scripts/test.sh | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename scripts/{send_to_bot.py => send-to-bot.py} (100%) diff --git a/scripts/send_to_bot.py b/scripts/send-to-bot.py similarity index 100% rename from scripts/send_to_bot.py rename to scripts/send-to-bot.py diff --git a/scripts/test.sh b/scripts/test.sh index e7dd74550..30aa5f524 100644 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -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 }