Skip to content

Commit 912d636

Browse files
committed
[fix] : Fixed typo
1 parent 965e067 commit 912d636

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/msg.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ msg_error() {
104104
# Check color
105105
# Usage check_color <str>
106106
check_color(){
107-
case "${2}" in
107+
case "${1}" in
108108
"black" | "red" | "green" | "yellow" | "blue" | "magenta" | "cyan" | "white")
109109
return 0
110110
;;

0 commit comments

Comments
 (0)