Skip to content

Commit

Permalink
Fix a warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
23Skidoo committed Sep 11, 2016
1 parent 2f4825d commit 4ea8b37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cabal/Distribution/Simple/Utils.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1287,11 +1287,11 @@ findPackageDesc dir = do
++ intercalate ", " l

-- | List all package descriptions in the given directory.
--
--
-- In contrast to 'findPackageDesc', finding more than one
-- package description is possible and does not lead
-- to an error/'Left' value.
listPackageDescs :: FilePath -> IO [FilePath]
listPackageDescs :: FilePath -> NoCallStackIO [FilePath]
listPackageDescs dir = do
files <- getDirectoryContents dir
-- to make sure we do not mistake a ~/.cabal/ dir for a <pkgname>.cabal
Expand Down

0 comments on commit 4ea8b37

Please sign in to comment.