@@ -10,6 +10,8 @@ import System.FilePath ((</>))
10import System.IO.Error (tryIOError)
10import System.IO.Error (tryIOError)
11import System.Process (readProcessWithExitCode)
11import System.Process (readProcessWithExitCode)
13+import qualified Elm.Compiler.Version as Version
14{-| Forward function application `x |> f == f x`. This function is useful
16{-| Forward function application `x |> f == f x`. This function is useful
15for avoiding parenthesis and writing code in a more natural way.
17for avoiding parenthesis and writing code in a more natural way.
@@ -111,8 +113,8 @@ errorNotFound name =
112 , " * On Mac it is /usr/local/share/elm"
114 , " * On Mac it is /usr/local/share/elm"
113 , " * On Windows it is one of the following:"
115 , " * On Windows it is one of the following:"
114− , " C:/Program Files/Elm Platform/0.13/share"
116+ , " C:/Program Files/Elm Platform/" ++ Version.version ++ "/share"
115− , " C:/Program Files (x86)/Elm Platform/0.13/share"
117+ , " C:/Program Files (x86)/Elm Platform/" ++ Version.version ++ "/share"
117 , "If it seems like a more complex issue, please report it here:"
119 , "If it seems like a more complex issue, please report it here:"
118 , " <https://github.com/elm-lang/elm-platform/issues>"
120 , " <https://github.com/elm-lang/elm-platform/issues>"