Compare commits

...

2 commits

Author SHA1 Message Date
99b092e04b
fix
All checks were successful
/ job (push) Successful in 2m57s
2025-07-12 01:50:30 +02:00
ec1bb4bab2
shellcheck/user 2025-07-12 01:49:14 +02:00

View file

@ -228,11 +228,14 @@ rwx_code_check() {
# check syntax # check syntax
rwx_log rwx_log
rwx_shellcheck "${rwx_main_root}" rwx_shellcheck "${rwx_main_root}"
rwx_log
[ -d "${rwx_code_root}" ] &&
rwx_shellcheck "${rwx_code_root}"
# check format # check format
rwx_log rwx_log
rwx_shfmt "${rwx_main_root}" rwx_shfmt "${rwx_main_root}"
rwx_log rwx_log
[ -e "${rwx_code_root}" ] && [ -d "${rwx_code_root}" ] &&
rwx_shfmt "${rwx_code_root}" rwx_shfmt "${rwx_code_root}"
} }