diff --git a/test.sh b/test.sh index e070513..f81f1b2 100644 --- a/test.sh +++ b/test.sh @@ -1,4 +1,4 @@ -HTTPCODE=`curl -s -o /dev/null -w "%{http_code}" https://salty-journey-63595.herokuapp.com/` +HTTPCODE=echo $(`curl -s -o /dev/null -w "%{http_code}" https://salty-journey-63595.herokuapp.com/` | tr -d ' ') if [ "$HTTPCODE" -ne 200 ];then echo "heroku app not responding, failing deploy" exit 1