summaryrefslogtreecommitdiff
path: root/src/rebar_core.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-03-07 19:35:24 -0500
committerFred Hebert <mononcqc@ferd.ca>2015-03-07 19:35:24 -0500
commit5ef7d024c30c35e69e4882c1bc847fd46af6901a (patch)
treedeebe0a9fed52cb8316bbc9e11cd063d83cd1fc7 /src/rebar_core.erl
parentcd5ba717ba0c07bbc366939b6a614ef398712e23 (diff)
parent3f5fa807cb86f3c756933c1f59f4444d1ea17bbb (diff)
Merge pull request #241 from tsloughter/erlydtl
update erlydtl compiler to output to _build, add simple test
Diffstat (limited to 'src/rebar_core.erl')
-rw-r--r--src/rebar_core.erl2
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;