Skip to content

Commit 3f7b50f

Browse files
committed
Send "stack templates" output to stdout #1792
1 parent b5f11df commit 3f7b50f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Stack/New.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ listTemplates
270270
=> m ()
271271
listTemplates = do
272272
templates <- getTemplates
273-
mapM_ ($logInfo . templateName) (S.toList templates)
273+
mapM_ (liftIO . T.putStrLn . templateName) (S.toList templates)
274274

275275
-- | Get the set of templates.
276276
getTemplates

0 commit comments

Comments
 (0)