handling logging level

This commit is contained in:
Nicolas Rolland
2015-10-31 12:34:30 +01:00
parent 06323ac20f
commit d0ea69b61b
3 changed files with 15 additions and 4 deletions

View File

@@ -94,7 +94,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 ;)
whenM (liftIO $ doesFileExist $ setupConfigPath "dist") $ do
gmLog GmDebug "" $ (text
gmLog GmWarning "" $ (text
"'dist/setup-config' exists, ignoring Stack and using cabal-install instead.")
mzero