From 7fca7583d10e74968e090b179a2dd0dab026cb18 Mon Sep 17 00:00:00 2001 From: KheliaNibaruta <73180785+KheliaNibaruta@users.noreply.github.com> Date: Thu, 3 Dec 2020 18:40:31 +0100 Subject: [PATCH] Update test.sh --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.sh b/test.sh index f81f1b2..e070513 100644 --- a/test.sh +++ b/test.sh @@ -1,4 +1,4 @@ -HTTPCODE=echo $(`curl -s -o /dev/null -w "%{http_code}" https://salty-journey-63595.herokuapp.com/` | tr -d ' ') +HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://salty-journey-63595.herokuapp.com/` if [ "$HTTPCODE" -ne 200 ];then echo "heroku app not responding, failing deploy" exit 1