Improve Formatting & Commenting Tests 1-2

This commit is contained in:
Mitchell Krog 2019-06-29 10:23:23 +02:00
parent 908bdd99f3
commit a7e94b6023
No known key found for this signature in database
GPG key ID: C243C388553EDE5D
4 changed files with 24 additions and 49 deletions

View file

@ -60,10 +60,10 @@ defaultcolor=$(tput setaf default)
# ---------
reloadNginX () {
printf "\n"
echo "${bold}${green}---------------"
echo "${bold}${green}Reloading Nginx"
echo "${bold}${green}---------------"
printf "\n\n"
sudo nginx -t && sudo nginx -s reload
}
@ -71,7 +71,7 @@ waitforReload () {
echo "${bold}${yellow}-----------------------------------------------------------------------"
echo "${bold}${yellow}Sleeping for 10 seconds to allow Nginx to Properly Reload inside Travis"
echo "${bold}${yellow}-----------------------------------------------------------------------"
printf "\n\n"
printf "\n"
sleep 10s
}