Skip to content

Commit

Permalink
fix colorized output in terminal
Browse files Browse the repository at this point in the history
Closes #422
  • Loading branch information
mr-karan committed Jul 22, 2021
1 parent 9e61bfc commit 4d8e73b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install-prod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ GREEN="$(tput setaf 2 2>/dev/null || printf '')"
NO_COLOR="$(tput sgr0 2>/dev/null || printf '')"

info() {
printf '%s\n' "${BLUE}>${NO_COLOR} $*"
printf '%s\n' "${BLUE}> ${NO_COLOR} $*"
}

error() {
printf '%s\n' "${RED}x $*${NO_COLOR}" >&2
}

completed() {
printf '%s\n' "${GREEN}${GREEN} $*"
printf '%s\n' "${GREEN} ${NO_COLOR} $*"
}

exists() {
Expand Down

0 comments on commit 4d8e73b

Please sign in to comment.