File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ RESET='\033[0m'
1010if [ ! -t 1 ]; then RED=' ' ; GREEN=' ' ; BOLD=' ' ; RESET=' ' ; fi
1111
1212error_exit () {
13- printf " ${RED} Error: %s ${RESET} \n" " $1 " >&2
13+ printf " ${RED} Error: %b ${RESET} \n" " $1 " >&2
1414 exit 1
1515}
1616
Original file line number Diff line number Diff line change @@ -16,16 +16,16 @@ RESET='\033[0m'
1616if [ ! -t 1 ]; then RED=' ' ; YELLOW=' ' ; GREEN=' ' ; BOLD=' ' ; RESET=' ' ; fi
1717
1818error_exit () {
19- printf " ${RED} Error: %s ${RESET} \n" " $1 " >&2
19+ printf " ${RED} Error: %b ${RESET} \n" " $1 " >&2
2020 exit 1
2121}
2222
2323warn () {
24- printf " ${YELLOW}${BOLD} ⚠️${RESET} %s \n" " $1 " >&2
24+ printf " ${YELLOW}${BOLD} ⚠️${RESET} %b \n" " $1 " >&2
2525}
2626
2727info () {
28- printf " ${GREEN}${BOLD} ✓${RESET} %s \n" " $1 "
28+ printf " ${GREEN}${BOLD} ✓${RESET} %b \n" " $1 "
2929}
3030
3131check_downloader () {
You can’t perform that action at this time.
0 commit comments