From c1a891ce33bed2c01fa7a0e2aa394e0165eff42a Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Tue, 12 Jun 2012 23:40:42 +0200 Subject: Remove gratuitous lists:append/1 --- src/rebar_base_compiler.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}) -> -- cgit v1.1