fix: adjust shell format with shfmt

This commit is contained in:
Matteo Gaggiano authored and neil committed 2026-03-16 20:30:29 +08:00
1 parent e08eb22093
commit c2a001fd73
1 file changed
+3 -8
+3 -8
View File
@@ -16,7 +16,6 @@ else ## LIVE
MVMNET_API_URL="https://api.mvmnet.com/api/1.0"
fi
######## Public functions #####################
dns_mvmnet_add() {
@@ -63,7 +62,6 @@ dns_mvmnet_rm() {
_subdomain=$(echo "$fulldomain" | sed -r "s/.$_domain//")
_debug _subdomain "$_subdomain"
if ! _get_record_id "$_subdomain" "$_domain" "$txtvalue"; then
_warn "Record id for $_subdomain not found, please remove it manually"
return 0
@@ -84,8 +82,7 @@ dns_mvmnet_rm() {
#################### Private functions below ##################################
_check_variables ()
{
_check_variables() {
MVMNET_ID="${MVMNET_ID:-$(_readaccountconf_mutable MVMNET_ID)}"
MVMNET_KEY="${MVMNET_KEY:-$(_readaccountconf_mutable MVMNET_KEY)}"
MVMNET_SEED="${MVMNET_SEED:-$(_readaccountconf_mutable MVMNET_SEED)}"
@@ -98,8 +95,7 @@ _check_variables ()
fi
}
_retrieve_and_check_variables ()
{
_retrieve_and_check_variables() {
_check_variables
_saveaccountconf_mutable MVMNET_ID "$MVMNET_ID"
@@ -112,8 +108,7 @@ _retrieve_and_check_variables ()
# _sub_domain=_acme-challenge.www
# _domain=domain.com
# _domain_id=123456789
_get_root ()
{
_get_root() {
domain=$1
i=1
p=1
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.