mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-06 21:11:35 -07:00
Remove incorrect otherwise
You're supposed to use otherwise where you need a Boolean, not a pattern match. This is misleadingly shadowing the real otherwise. Use _ instead.
This commit is contained in:
parent
93be86f988
commit
0f48bb78a5
2 changed files with 2 additions and 2 deletions
|
@ -135,6 +135,6 @@ shellForExecutable name =
|
|||
"ksh" -> return Ksh
|
||||
"ksh88" -> return Ksh
|
||||
"ksh93" -> return Ksh
|
||||
otherwise -> Nothing
|
||||
_ -> Nothing
|
||||
|
||||
flagsForRead = "sreu:n:N:i:p:a:t:"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue