summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-10-11 09:21:01 -0500
committerTristan Sloughter <t@crashfast.com>2014-10-11 09:21:01 -0500
commit3b5f22f0663c545117692dfa88d0a6fc66235ed6 (patch)
treea05603fb9683bf8639c882dc82a3f944b8b49f75 /src
parent6e4b68e28eacefcf42d96dd1492e12b96c1bfdda (diff)
formatting
Diffstat (limited to 'src')
-rw-r--r--src/rebar3.erl2
-rw-r--r--src/rebar_core.erl3
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 ->