mirror of
https://github.com/tw93/Mole.git
synced 2026-02-14 14:07:30 +00:00
chore: auto format code
This commit is contained in:
@@ -402,7 +402,10 @@ main() {
|
|||||||
if [[ ${#CURRENT_WHITELIST_PATTERNS[@]} -gt 0 ]]; then
|
if [[ ${#CURRENT_WHITELIST_PATTERNS[@]} -gt 0 ]]; then
|
||||||
local count=${#CURRENT_WHITELIST_PATTERNS[@]}
|
local count=${#CURRENT_WHITELIST_PATTERNS[@]}
|
||||||
if [[ $count -le 3 ]]; then
|
if [[ $count -le 3 ]]; then
|
||||||
local patterns_list=$(IFS=', '; echo "${CURRENT_WHITELIST_PATTERNS[*]}")
|
local patterns_list=$(
|
||||||
|
IFS=', '
|
||||||
|
echo "${CURRENT_WHITELIST_PATTERNS[*]}"
|
||||||
|
)
|
||||||
echo -e "${ICON_ADMIN} Active Whitelist: ${patterns_list}"
|
echo -e "${ICON_ADMIN} Active Whitelist: ${patterns_list}"
|
||||||
else
|
else
|
||||||
echo -e "${ICON_ADMIN} Active Whitelist: ${GRAY}${count} items${NC}"
|
echo -e "${ICON_ADMIN} Active Whitelist: ${GRAY}${count} items${NC}"
|
||||||
|
|||||||
Reference in New Issue
Block a user