diff options
Diffstat (limited to 'src/rebar_core.erl')
-rw-r--r-- | src/rebar_core.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_core.erl b/src/rebar_core.erl index ab90961..12cd1fc 100644 --- a/src/rebar_core.erl +++ b/src/rebar_core.erl @@ -84,7 +84,7 @@ process_command(State, Command) -> %% to have both $REBAR_PROFILE set and use 'as' in a command case rebar_state:current_profiles(State) of [default] -> - do([{default, hd(TargetProviders)} | tl(TargetProviders)], State); + do(TargetProviders, State); _ -> {error, "Namespace 'as' is forbidden"} end; |