Compare commits

..

No commits in common. "99b092e04b75a213681bc096004a9a2bc4abb8f9" and "a10abc5598b1ea9a6fddfc6a6a7bea7a9da305e7" have entirely different histories.

View file

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