Skip to content

Commit 22084a7

Browse files
authored
Update main.sh
1 parent e64049a commit 22084a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ is_common_format_valid() {
594594
check_result $E_INVALID "invalid $2 format :: $1"
595595
fi
596596
if [[ $1 =~ \* ]]; then
597-
if [[ "$(echo $1 | grep -o \*\. |wc -l)" -eq 0 ]] && [[ $1 != '*' ]] ; then
597+
if [[ "$(echo $1 | grep -o '\*\.' |wc -l)" -eq 0 ]] && [[ $1 != '*' ]] ; then
598598
check_result $E_INVALID "invalid $2 format :: $1"
599599
fi
600600
fi

0 commit comments

Comments
 (0)