fix error message when multiple srcDirs are missing
commitc76acf61543346ae94b41e84899dfec59e023b39
authorEvan Czaplicki <evancz@users.noreply.github.com>
dateThu 1 Aug 2019, 16:47 (7 years ago)
parent2d66577
builder/src/Reporting/Exit.hs+2−1
@@ -987,7 +987,8 @@ toOutlineReport problem =
987987 _:_ ->
988988 Help.report "MISSING SOURCE DIRECTORIES" (Just "elm.json")
989989 "I need a valid elm.json file, but the \"source-directories\" field lists the following directories:"
990− [ D.indent 4 $ D.dullyellow $ D.fromChars dir
990+ [ D.indent 4 $ D.vcat $
991+ map (D.dullyellow . D.fromChars) (dir:dirs)
991992 , D.reflow $
992993 "I cannot find them though. Are they missing? Are there typos?"
993994 ]