diff options
| -rw-r--r-- | src/rebar3.erl | 2 | ||||
| -rw-r--r-- | src/rebar_core.erl | 3 | 
2 files changed, 2 insertions, 3 deletions
| diff --git a/src/rebar3.erl b/src/rebar3.erl index 0a07c90..3b89c73 100644 --- a/src/rebar3.erl +++ b/src/rebar3.erl @@ -144,7 +144,7 @@ run_aux(State, RawArgs) ->      {ok, Providers} = application:get_env(rebar, providers),      {ok, PluginProviders, State3} = rebar_plugins:install(State2), -    rebar_core:update_code_path(State), +    rebar_core:update_code_path(State3),      State4 = rebar_state:create_logic_providers(Providers++PluginProviders, State3),      {Task, Args} = parse_args(RawArgs), diff --git a/src/rebar_core.erl b/src/rebar_core.erl index 147f64f..155e14f 100644 --- a/src/rebar_core.erl +++ b/src/rebar_core.erl @@ -36,8 +36,7 @@ process_command(State, Command) ->      %% ? rebar_prv_install_deps:setup_env(State),      Providers = rebar_state:providers(State),      TargetProviders = providers:get_target_providers(Command, Providers), -    CommandProvider = providers:get_provider(Command -                                            ,Providers), +    CommandProvider = providers:get_provider(Command, Providers),      Opts = providers:opts(CommandProvider)++rebar3:global_option_spec_list(),      case Command of          do -> | 
