Put a message when you say yes to `elm init`
commit0485916065cdf525c7e9f21200c88978b8a3d4ce
authorEvan Czaplicki <evancz@users.noreply.github.com>
dateTue 22 May 2018, 09:46 (8 years ago)
parent6a92c05
ui/terminal/src/Init.hs+5−2
@@ -39,8 +39,11 @@ run () flags =
3939 Task.run reporter $
4040 do approved <- Task.getApproval question
4141 if approved
42− then init flags
43− else liftIO $ putStrLn "Okay, I left everything the same!"
42+ then
43+ do init flags
44+ liftIO $ putStrLn "Okay, I created them!"
45+ else
46+ liftIO $ putStrLn "Okay, I left everything the same!"
4447
4548
4649question :: D.Doc