mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 14:10:56 -05:00
Don't check zsh files with shfmt
This commit is contained in:
parent
f5331bdcd3
commit
833dcb8bd8
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
##################################
|
##################################
|
||||||
|
|
Loading…
Reference in a new issue