From 4e748884edc42e6592561a94c94429122841087b Mon Sep 17 00:00:00 2001 From: John Doe Date: Thu, 7 Dec 2017 18:52:26 +0300 Subject: [PATCH] Red icon for failed build --- src/Telegram.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Telegram.php b/src/Telegram.php index 0e5d39a..f9e26e0 100644 --- a/src/Telegram.php +++ b/src/Telegram.php @@ -120,7 +120,7 @@ public function execute() private function buildMessage() { $this->buildMsg = ''; - $buildIcon = $this->build->isSuccessful() ? '✅' : '❎'; + $buildIcon = $this->build->isSuccessful() ? '✅' : '❌'; $buildLog = $this->build->getLog(); $buildLog = str_replace(['[0;32m', '[0;31m', '[0m', '/[0m'], '', $buildLog); $buildMessages = explode('RUNNING PLUGIN: ', $buildLog);