diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2011-07-08 14:01:25 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2011-07-08 14:01:25 +0200 |
commit | 7118ec6612be53b37ddebcd0c3685f128920e4f5 (patch) | |
tree | 54dab4fc9e3034955a72c1eadc4e8826a990f9cf /src | |
parent | 1ec92ebac3f05faeb26403a2a3b079a8db80d2fb (diff) |
Use auto-imported element/2
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_rel_utils.erl | 4 |
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. |