瀏覽代碼

Add spec for global_cache_dir

pull/1121/head
Francisco Rojas 9 年之前
父節點
當前提交
8b1193e4af
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      src/rebar_dir.erl

+ 1
- 0
src/rebar_dir.erl 查看文件

@ -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 ->

Loading…
取消
儲存