diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2014-04-19 22:01:09 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2014-04-20 16:59:38 +0200 |
commit | b037f6c0762a5c610bd47ade1b38c04b73f9850f (patch) | |
tree | 9240819dd377b733c87c7ea7da283b1ff30c5e7f /inttest/bug_5_rt.erl | |
parent | 8edaa08ba6b051f49ec3631ca1aa424573c3dac6 (diff) |
rebar_core: consistently order args and simplify code
* Fix arg order:
The order of arguments got inconsistent over time. To fix that, use
the same consistent order in all functions.
* Avoid one erlang:'++'/2 call in process_dir/6.
* Avoid lists:prefix/2 and atom_to_list/1 calls:
We can easily avoid 2 lists:prefix/2 calls and one atom_to_list/1 call
in execute/5 by passing in whether the command is a hook or not. The
resulting code is simpler and easier to read.
Diffstat (limited to 'inttest/bug_5_rt.erl')
0 files changed, 0 insertions, 0 deletions