Skip to content

Commit cb4f4e7

Browse files
committed
Use mapM_ instead of reimplementing it
1 parent 0607039 commit cb4f4e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ShellCheck/Analytics.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3808,7 +3808,7 @@ checkAliasUsedInSameParsingUnit params root =
38083808
-- Group them by whether they start on the same line where the previous one ended
38093809
units = groupByLink followsOnLine commands
38103810
in
3811-
execWriter $ sequence_ $ map checkUnit units
3811+
execWriter $ mapM_ checkUnit units
38123812
where
38133813
lineSpan t =
38143814
let m = tokenPositions params in do

0 commit comments

Comments
 (0)