Commit cb5a778b authored by Edward Z. Yang's avatar Edward Z. Yang Committed by Edward Z. Yang
Browse files

Don't mark missing package servers warning.



In general, the test suite will not have any servers configured
so this warning is not very useful.
Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
parent 5bd96351
......@@ -210,8 +210,11 @@ getSourcePackagesAtIndexState :: Verbosity -> RepoContext -> IndexState
-> IO SourcePackageDb
getSourcePackagesAtIndexState verbosity repoCtxt _
| null (repoContextRepos repoCtxt) = do
warn verbosity $ "No remote package servers have been specified. Usually "
++ "you would have one specified in the config file."
-- In the test suite, we routinely don't have any remote package
-- servers, so don't bleat about it
warn (verboseUnmarkOutput verbosity) $
"No remote package servers have been specified. Usually " ++
"you would have one specified in the config file."
return SourcePackageDb {
packageIndex = mempty,
packagePreferences = mempty
......
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