mirror of
https://github.com/gren-lang/compiler.git
synced 2024-09-11 16:56:29 +03:00
Change home-directory cache folder from .elm to .gren
This commit is contained in:
parent
cb1f44432c
commit
b7b27e23e0
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user