mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-05 12:36:06 -07:00
Use mapM_ instead of sequence_ and <$>
This commit is contained in:
parent
26b949b9b0
commit
7deb7e853b
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ controlFlowEffectChecks = [
|
|||
runNodeChecks :: [ControlFlowNodeCheck] -> ControlFlowCheck
|
||||
runNodeChecks perNode = do
|
||||
cfg <- asks cfgAnalysis
|
||||
sequence_ $ runOnAll <$> cfg
|
||||
mapM_ runOnAll cfg
|
||||
where
|
||||
getData datas n@(node, label) = do
|
||||
(pre, post) <- M.lookup node datas
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue