mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-13 16:43:20 -07:00
Add extra checks for masked return codes
This commit is contained in:
parent
3a296cd788
commit
093df8cb24
4 changed files with 129 additions and 2 deletions
|
@ -101,8 +101,6 @@ commandChecks = [
|
|||
++ map checkArgComparison declaringCommands
|
||||
++ map checkMaskedReturns declaringCommands
|
||||
|
||||
declaringCommands = ["local", "declare", "export", "readonly", "typeset", "let"]
|
||||
|
||||
|
||||
optionalChecks = map fst optionalCommandChecks
|
||||
optionalCommandChecks :: [(CheckDescription, CommandCheck)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue