mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-13 16:43:20 -07:00
Improve warnings for expr (fixes #2033)
This commit is contained in:
parent
da7b28213e
commit
5b6fd60279
3 changed files with 67 additions and 9 deletions
|
@ -142,7 +142,7 @@ producesComments c s = do
|
|||
prRoot pr
|
||||
let spec = defaultSpec pr
|
||||
let params = makeParameters spec
|
||||
return . not . null $ runChecker params c
|
||||
return . not . null $ filterByAnnotation spec params $ runChecker params c
|
||||
|
||||
makeComment :: Severity -> Id -> Code -> String -> TokenComment
|
||||
makeComment severity id code note =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue