summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rebar_rel_utils.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_rel_utils.erl b/src/rebar_rel_utils.erl
index 627ce13..bdf58d3 100644
--- a/src/rebar_rel_utils.erl
+++ b/src/rebar_rel_utils.erl
@@ -166,8 +166,8 @@ get_target_parent_dir(ReltoolConfig) ->
make_proplist([{_,_}=H|T], Acc) ->
make_proplist(T, [H|Acc]);
make_proplist([H|T], Acc) ->
- App = erlang:element(1, H),
- Ver = erlang:element(2, H),
+ App = element(1, H),
+ Ver = element(2, H),
make_proplist(T, [{App,Ver}|Acc]);
make_proplist([], Acc) ->
Acc.