Преглед на файлове

fix plugins porvider use of rebar_dir

pull/780/head
Tristan Sloughter преди 9 години
родител
ревизия
2d4ba55f57
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      src/rebar_prv_plugins.erl

+ 1
- 1
src/rebar_prv_plugins.erl Целия файл

@ -34,7 +34,7 @@ do(State) ->
GlobalConfigFile = rebar_dir:global_config(),
GlobalConfig = rebar_state:new(rebar_config:consult_file(GlobalConfigFile)),
GlobalPlugins = rebar_state:get(GlobalConfig, plugins, []),
GlobalPluginsDir = filename:join(rebar_dir:global_cache_dir(State), "plugins"),
GlobalPluginsDir = filename:join(rebar_dir:global_cache_dir(rebar_state:opts(State)), "plugins"),
display_plugins("Global plugins", GlobalPluginsDir, GlobalPlugins),
Plugins = rebar_state:get(State, plugins, []),

Зареждане…
Отказ
Запис