mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-09 11:49:32 +08:00
Fix minor details in new Bats support
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user