mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Remove gratuitous lists:append/1
This commit is contained in:
parent
8e66225e06
commit
c1a891ce33
1 changed files with 1 additions and 1 deletions
|
@ -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}) ->
|
||||
|
|
Loading…
Reference in a new issue