|
|
@ -145,12 +145,12 @@ init_config() -> |
|
|
|
%% We don't want to worry about global plugin install state effecting later |
|
|
|
%% usage. So we throw away the global profile state used for plugin install. |
|
|
|
GlobalConfigThrowAway = rebar_state:current_profiles(GlobalConfig, ["global"]), |
|
|
|
rebar_plugins:handle_plugins(global, |
|
|
|
GlobalState = rebar_plugins:handle_plugins(global, |
|
|
|
rebar_state:get(GlobalConfigThrowAway, plugins, []), |
|
|
|
GlobalConfigThrowAway), |
|
|
|
|
|
|
|
GlobalPlugins = rebar_state:providers(GlobalState), |
|
|
|
GlobalConfig2 = rebar_state:set(GlobalConfig, plugins, []), |
|
|
|
rebar_state:new(GlobalConfig2, Config1); |
|
|
|
rebar_state:providers(rebar_state:new(GlobalConfig2, Config1), GlobalPlugins); |
|
|
|
false -> |
|
|
|
rebar_state:new(Config1) |
|
|
|
end, |
|
|
|