Explorar el Código

Add spec for global_cache_dir

pull/1121/head
Francisco Rojas hace 9 años
padre
commit
8b1193e4af
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      src/rebar_dir.erl

+ 1
- 0
src/rebar_dir.erl Ver fichero

@ -92,6 +92,7 @@ global_config() ->
Home = home_dir(),
filename:join([Home, ".config", "rebar3", "rebar.config"]).
-spec global_cache_dir(rebar_dict()) -> file:filename_all().
global_cache_dir(Opts) ->
RebarCacheDir = case os:getenv("REBAR_CACHE_DIR") of
false ->

Cargando…
Cancelar
Guardar