From 3b5f22f0663c545117692dfa88d0a6fc66235ed6 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Sat, 11 Oct 2014 09:21:01 -0500 Subject: formatting --- src/rebar3.erl | 2 +- src/rebar_core.erl | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src') 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 -> -- cgit v1.1