Compare commits
2 commits
a10abc5598
...
99b092e04b
Author | SHA1 | Date | |
---|---|---|---|
99b092e04b | |||
ec1bb4bab2 |
1 changed files with 4 additions and 1 deletions
|
@ -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}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue