Skip to content
Snippets Groups Projects
Commit 1af81282 authored by Emily Pillmore's avatar Emily Pillmore :ocean:
Browse files

remove unnecessary init message for hackage dir name

parent 3c4023f5
No related branches found
No related tags found
No related merge requests found
......@@ -137,7 +137,7 @@ createProject v pkgIx srcDb initFlags = do
return $ ProjectSettings
(mkOpts comments cabalSpec) pkgDesc (Just libTarget)
(Just exeTarget) testTarget
TestSuite -> do
-- the line below is necessary because if both package type and test flags
-- are *not* passed, the user will be prompted for a package type (which
......@@ -145,7 +145,7 @@ createProject v pkgIx srcDb initFlags = do
-- TestSuite target with initializeTestSuite set to NoFlag, thus avoiding the prompt.
let initFlags' = initFlags { initializeTestSuite = Flag True }
testTarget <- genTestTarget initFlags' pkgIx
comments <- noCommentsPrompt initFlags'
return $ ProjectSettings
......@@ -308,9 +308,7 @@ packageNamePrompt srcDb flags = getPackageName flags $ do
then do
don'tUseName <- promptYesNo (promptOtherNameMsg n) (DefaultPrompt True)
if don'tUseName
then do
putStrLn (inUseMsg n)
go defName
then go defName
else return n
else return n
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment