File tree 2 files changed +5
-4
lines changed
cabal-install/src/Distribution/Client
cabal-testsuite/PackageTests/GenBounds/Issue6290 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ import Distribution.Simple.PackageDescription
40
40
import Distribution.Simple.Program
41
41
( ProgramDb )
42
42
import Distribution.Simple.Utils
43
- ( tryFindPackageDesc )
43
+ ( notice , tryFindPackageDesc )
44
44
import Distribution.System
45
45
( Platform )
46
46
import Distribution.Version
@@ -118,11 +118,11 @@ genBounds verbosity packageDBs repoCtxt comp platform progdb globalFlags freezeF
118
118
119
119
let padTo = maximum $ map (length . unPackageName . packageName) pkgs
120
120
121
- if null thePkgs then putStrLn
121
+ if null thePkgs then notice verbosity
122
122
" Congratulations, all your dependencies have upper bounds!"
123
123
else do
124
- putStrLn boundsNeededMsg
125
- traverse_ (putStrLn . (++ " ," ) . showBounds padTo) thePkgs
124
+ notice verbosity boundsNeededMsg
125
+ traverse_ (notice verbosity . (++ " ," ) . showBounds padTo) thePkgs
126
126
127
127
depName :: Dependency -> String
128
128
depName (Dependency pn _ _) = unPackageName pn
Original file line number Diff line number Diff line change 1
1
# cabal gen-bounds
2
2
Resolving dependencies...
3
+ Congratulations, all your dependencies have upper bounds!
You can’t perform that action at this time.
0 commit comments