mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-06 13:01:39 -07:00
Fix minor details in new Bats support
This commit is contained in:
parent
c97cb8cf54
commit
e1fe9be7af
4 changed files with 11 additions and 1 deletions
|
@ -52,6 +52,7 @@ shellFromFilename filename = foldl mplus Nothing candidates
|
|||
where
|
||||
shellExtensions = [(".ksh", Ksh)
|
||||
,(".bash", Bash)
|
||||
,(".bats", Bash)
|
||||
,(".dash", Dash)]
|
||||
-- The `.sh` is too generic to determine the shell:
|
||||
-- We fallback to Bash in this case and emit SC2148 if there is no shebang
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue