diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-06-12 23:40:42 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-06-12 23:40:42 +0200 |
commit | c1a891ce33bed2c01fa7a0e2aa394e0165eff42a (patch) | |
tree | 24d008d95b14a0baf78534fbee616fb620ea3a14 | |
parent | 8e66225e061572cc405398deb04b8573749fc804 (diff) |
Remove gratuitous lists:append/1
-rw-r--r-- | src/rebar_base_compiler.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_base_compiler.erl b/src/rebar_base_compiler.erl index 3e2997f..3d4447f 100644 --- a/src/rebar_base_compiler.erl +++ b/src/rebar_base_compiler.erl @@ -237,7 +237,7 @@ report(Messages) -> format_errors(Source, Extra, Errors) -> AbsSource = filename:absname(Source), - [lists:append([format_error(AbsSource, Extra, Desc) || Desc <- Descs]) + [[format_error(AbsSource, Extra, Desc) || Desc <- Descs] || {_, Descs} <- Errors]. format_error(AbsSource, Extra, {{Line, Column}, Mod, Desc}) -> |