Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions backends/arm/scripts/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
# non-interactive mode. "$#" gives the number of positional arguments.
[ "$#" -eq 0 ] && is_script_interactive=1 || is_script_interactive=0

RESET='\e[0m'
RED='\e[31m'
GREEN='\e[32m'
YELLOW='\e[33m'
BLUE='\e[34m'
if [ $is_script_interactive -eq 1 ]; then
RESET='\e[0m'
RED='\e[31m'
GREEN='\e[32m'
YELLOW='\e[33m'
BLUE='\e[34m'
fi

INFO="${BLUE}[INFO]${RESET}"
WARNING="${YELLOW}[WARNING]${RESET}"
Expand Down
Loading