mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 12:42:09 -05:00
feat: support bats (#1778)
Support linting of bats files by identifying them as shell scripts (they actually are)
This commit is contained in:
parent
fa3fc56113
commit
f6910e3ee9
1 changed files with 1 additions and 0 deletions
|
@ -332,6 +332,7 @@ function IsValidShellScript() {
|
|||
|
||||
if [ "${FILE_EXTENSION}" == "sh" ] ||
|
||||
[ "${FILE_EXTENSION}" == "bash" ] ||
|
||||
[ "${FILE_EXTENSION}" == "bats" ] ||
|
||||
[ "${FILE_EXTENSION}" == "dash" ] ||
|
||||
[ "${FILE_EXTENSION}" == "ksh" ]; then
|
||||
debug "$FILE is a valid shell script (has a valid extension: ${FILE_EXTENSION})"
|
||||
|
|
Loading…
Reference in a new issue