mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-08 14:27:35 +08:00
Do toLower earlier
This commit is contained in:
@@ -2594,7 +2594,7 @@ checkUnsupported params t =
|
|||||||
(name, support) = shellSupport t
|
(name, support) = shellSupport t
|
||||||
report s = err (getId t) 2127 $
|
report s = err (getId t) 2127 $
|
||||||
"To use " ++ s ++ ", specify #!/usr/bin/env " ++
|
"To use " ++ s ++ ", specify #!/usr/bin/env " ++
|
||||||
(map toLower . intercalate " or " . map show $ support)
|
(intercalate " or " . map (map toLower . show) $ support)
|
||||||
|
|
||||||
-- TODO: Move more of these checks here
|
-- TODO: Move more of these checks here
|
||||||
shellSupport t =
|
shellSupport t =
|
||||||
|
Reference in New Issue
Block a user