summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rebar_base_compiler.erl2
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}) ->