Look for static assets in compiler/ subdirectory
commita5c8d8e0f61e4d2fa0ceec7967fec7cd05a27394
authorEvan Czaplicki <info@elm-lang.org>
dateThu 21 Aug 2014, 00:57 (12 years ago)
parent6286f7b
compiler/Build/Utils.hs+1−1
@@ -36,7 +36,7 @@ getDataFile name = do
3636 else do
3737 environment <- tryIOError (getEnv "ELM_HOME")
3838 case environment of
39− Right env -> return (env </> name)
39+ Right env -> return (env </> "compiler" </> name)
4040 Left _ ->
4141 fail $ unlines
4242 [ "Unable to find the ELM_HOME environment variable when searching"