Skip to content

Commit 709ce46

Browse files
committed
Follow hlint suggestion: Use infix for isPrefixOf
1 parent 3d22cd0 commit 709ce46

File tree

1 file changed

+1
-1
lines changed
  • cabal-install/tests/UnitTests/Distribution/Client

1 file changed

+1
-1
lines changed

cabal-install/tests/UnitTests/Distribution/Client/VCS.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ getDirectoryContentsRecursive ignore dir0 dir = do
745745
isdir <- doesDirectoryExist (dir0 </> dir </> entry)
746746
return (dir </> entry, isdir)
747747
| entry <- entries
748-
, not (isPrefixOf "." entry)
748+
, not ("." `isPrefixOf` entry)
749749
, (dir </> entry) `Set.notMember` ignore
750750
]
751751
let subdirs = [d | (d, True) <- entries']

0 commit comments

Comments
 (0)