Don't check zsh files with shfmt

This commit is contained in:
Marco Ferrari 2020-08-31 19:31:22 +02:00
parent f5331bdcd3
commit 833dcb8bd8

View file

@ -168,6 +168,11 @@ function LintCodebase() {
warn "Found [zsh] script" warn "Found [zsh] script"
info "ShellCheck does NOT currently support zsh, skipping file" info "ShellCheck does NOT currently support zsh, skipping file"
continue continue
elif [[ ${FILE_TYPE} == "SHELL_SHFMT" ]] && CheckZsh "${FILE}"; then
# ZSH file and we need to skip
warn "Found [zsh] script"
info "shfmt does NOT currently support zsh, skipping file"
continue
fi fi
################################## ##################################