diff --git a/sh/lint/shellcheck.sh b/sh/lint/shellcheck.sh index 11b5b0d..ebec9ad 100644 --- a/sh/lint/shellcheck.sh +++ b/sh/lint/shellcheck.sh @@ -1,4 +1,4 @@ -rwx_shellcheck_check() { +rwx_shellcheck() { local root="${1}" local file module modules path file="$(mktemp)" diff --git a/sh/lint/shfmt.sh b/sh/lint/shfmt.sh index 107170b..097de86 100644 --- a/sh/lint/shfmt.sh +++ b/sh/lint/shfmt.sh @@ -1,4 +1,4 @@ -rwx_shfmt_check() { +rwx_shfmt() { local root="${1}" shfmt --diff "${root}" } diff --git a/sh/main.sh b/sh/main.sh index dfddf39..f591b46 100644 --- a/sh/main.sh +++ b/sh/main.sh @@ -132,10 +132,10 @@ rwx_main() { if rwx_shell_interactive; then # check format rwx_log - rwx_shfmt_check "${RWX_ROOT_SYSTEM}" + rwx_shfmt "${RWX_ROOT_SYSTEM}" # check syntax rwx_log - rwx_shellcheck_check "${RWX_ROOT_SYSTEM}" + rwx_shellcheck "${RWX_ROOT_SYSTEM}" # help rwx_log rwx_self_help