Change home-directory cache folder from .elm to .gren

This commit is contained in:
Robin Heggelund Hansen 2021-12-20 19:55:08 +01:00
parent cb1f44432c
commit b7b27e23e0

View File

@ -173,7 +173,7 @@ getCacheDir projectName =
getElmHome :: IO FilePath
getElmHome =
do maybeCustomHome <- Env.lookupEnv "ELM_HOME"
do maybeCustomHome <- Env.lookupEnv "GREN_HOME"
case maybeCustomHome of
Just customHome -> return customHome
Nothing -> Dir.getAppUserDataDirectory "elm"
Nothing -> Dir.getAppUserDataDirectory "gren"