ci: fix linter errors
This commit is contained in:
parent
5dc74aadda
commit
52efa3ec61
1 changed files with 1 additions and 1 deletions
2
run.sh
2
run.sh
|
@ -101,7 +101,7 @@ if [ -n "${SMTP_NETWORKS}" ]; then
|
||||||
if grep -Eq "[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/[0-9]{1,2}" <<<$i ; then
|
if grep -Eq "[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/[0-9]{1,2}" <<<$i ; then
|
||||||
nets+=", $i"
|
nets+=", $i"
|
||||||
elif grep -Eq "$ipv6re" <<<$i ; then
|
elif grep -Eq "$ipv6re" <<<$i ; then
|
||||||
# shellcheck disable=SC1073,SC1126,SC1072
|
# shellcheck disable=SC1073,SC1126,SC1072,SC1009
|
||||||
readarray -d \/ -t arr < <(printf '%s' "$i") # shellcheck disable=SC1001
|
readarray -d \/ -t arr < <(printf '%s' "$i") # shellcheck disable=SC1001
|
||||||
nets+=", [${arr[0]}]/${arr[1]}"
|
nets+=", [${arr[0]}]/${arr[1]}"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue