Demote no-component-assignment warning to debug, Fix #552

This commit is contained in:
Daniel Gröber 2015-08-18 04:34:39 +02:00
parent a383f46939
commit dd82cea996
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ targetGhcOptions crdl sefnmn = do
-- First component should be ChLibName, if no lib will take lexically first exe.
let cns = filter (/= ChSetupHsName) $ Map.keys mcs
gmLog GmWarning "" $ strDoc $ "Could not find a component assignment, falling back to picking library component in cabal file."
gmLog GmDebug "" $ strDoc $ "Could not find a component assignment, falling back to picking library component in cabal file."
return $ gmcGhcOpts $ fromJust $ Map.lookup (head cns) mcs
else do
when noCandidates $