Browse Source

Use auto-imported element/2

pull/3/head
Tuncer Ayaz 14 years ago
parent
commit
7118ec6612
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/rebar_rel_utils.erl

+ 2
- 2
src/rebar_rel_utils.erl View File

@ -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.

Loading…
Cancel
Save