File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ Major changes:
1010
1111Behavior changes:
1212
13+ * ` stack list ` outputs to standard output rather than to standard error.
14+
1315Other enhancements:
1416
1517Bug fixes:
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ module Stack.List
88 ) where
99
1010import Pantry ( loadSnapshot )
11+ import qualified RIO.ByteString.Lazy as Lazy
1112import qualified RIO.Map as Map
1213import RIO.Process ( HasProcessContext )
1314import Stack.Config ( makeConcreteResolver )
@@ -56,7 +57,7 @@ listPackages mSnapshot input = do
5657 case errs1 ++ errs2 of
5758 [] -> pure ()
5859 errs -> prettyThrowM $ CouldNotParsePackageSelectors errs
59- mapM_ (prettyInfo . fromString . packageIdentifierString) locs
60+ mapM_ (Lazy. putStrLn . fromString . packageIdentifierString) locs
6061 where
6162 toLoc | Just snapshot <- mSnapshot = toLocSnapshot snapshot
6263 | otherwise = toLocNoSnapshot
You can’t perform that action at this time.
0 commit comments