Cleanup
This commit is contained in:
parent
c5db06af0f
commit
85722ab6f2
@ -83,8 +83,7 @@ stackCradle wdir = do
|
||||
|
||||
-- If dist/setup-config already exists the user probably wants to use cabal
|
||||
-- rather than stack, or maybe that's just me ;)
|
||||
mCabalSetupCfg <- liftIO $ mightExist $ setupConfigPath "dist"
|
||||
when (isJust mCabalSetupCfg) $ mzero
|
||||
whenM (liftIO $ doesFileExist $ setupConfigPath "dist") $ mzero
|
||||
|
||||
distDir <- MaybeT $ getStackDistDir cabalDir
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user