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