Codacy compliant

This commit is contained in:
Samuel Huang
2024-10-01 00:15:33 +10:00
parent 3ae14cfa24
commit c1f71bf1bb
18 changed files with 73 additions and 129 deletions

4
run.sh
View File

@@ -136,7 +136,7 @@ while true ; do
done
# Invoking all hook-URLs
if [ -n "${HOOKURL}" ]; then
if [ "${#HOOKURL[@]}" -gt 0 ]; then
for URL in "${HOOKURL[@]}"
do
echo "curl -sSL $URL"
@@ -185,7 +185,7 @@ if [ -n "${STSVR}" ]; then
done
fi
if [ -n "${NGSVR}" ]; then
if [ "${#NGSVR[@]}" -gt 0 ]; then
for svropt in "${NGSVR[@]}"
do
NGOPT="${NGOPT} --ng-server ${svropt},$xopt"