Skip to content

Commit

Permalink
Library print something
Browse files Browse the repository at this point in the history
  • Loading branch information
nihsx committed Oct 27, 2021
1 parent 68b94c2 commit 8756c2e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .scripts/library/stat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ function stat() {

if [ "${2}" == "Success" ]; then

echo -e "[ ${COLOR_WARNING}${1}${COLOR_BASED} ] > ${COLOR_SUCCESS}${3}${COLOR_BASED}"
echo -e "[ ${COLOR_SUCCESS}${1}${COLOR_BASED} ] > ${3}"

elif [ "${2}" == "Warning" ]; then

echo -e "[ ${COLOR_WARNING}${1}${COLOR_BASED} ] > ${COLOR_WARNING}${3}${COLOR_BASED}"
echo -e "[ ${COLOR_WARNING}${1}${COLOR_BASED} ] > ${3}"

elif [ "${2}" == "Danger" ]; then

echo -e "[ ${COLOR_WARNING}${1}${COLOR_BASED} ] > ${COLOR_DANGER}${3}${COLOR_BASED}"
echo -e "[ ${COLOR_DANGER}${1}${COLOR_BASED} ] > ${3}"

fi

Expand Down

0 comments on commit 8756c2e

Please sign in to comment.