mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 11:06:20 +00:00
Use auto-imported element/2
This commit is contained in:
parent
1ec92ebac3
commit
7118ec6612
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue