File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2481,7 +2481,7 @@ checkCharRangeGlob p t@(T_Glob id str) |
2481
2481
where
2482
2482
isCharClass str = " [" `isPrefixOf` str && " ]" `isSuffixOf` str
2483
2483
contents = dropNegation . drop 1 . take (length str - 1 ) $ str
2484
- hasDupes = any (> 1 ) . map length . group . sort . filter (/= ' -' ) $ contents
2484
+ hasDupes = any (( > 1 ) . length ) . group . sort . filter (/= ' -' ) $ contents
2485
2485
dropNegation s =
2486
2486
case s of
2487
2487
' !' : rest -> rest
@@ -3404,7 +3404,7 @@ checkPipeToNowhere params t =
3404
3404
3405
3405
commandSpecificException name cmd =
3406
3406
case name of
3407
- " du" -> any (`elem` [" exclude-from" , " files0-from" ]) $ map snd $ getAllFlags cmd
3407
+ " du" -> any (( `elem` [" exclude-from" , " files0-from" ]) . snd ) $ getAllFlags cmd
3408
3408
_ -> False
3409
3409
3410
3410
warnAboutDupes (n, list@ (_: _: _)) =
You can’t perform that action at this time.
0 commit comments