Commit fb73f48a authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Improve the error message emitted when multiple .cabal files are found

parent 33e95c60
......@@ -979,7 +979,7 @@ findPackageDesc dir
multiDesc :: [String] -> IO a
multiDesc l = die $ "Multiple cabal files found.\n"
++ "Please use only one of: "
++ show l
++ intercalate ", " l
-- |Optional auxiliary package information file (/pkgname/@.buildinfo@)
defaultHookedPackageDesc :: IO (Maybe FilePath)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment