mirror of
https://github.com/correl/rebar.git
synced 2025-01-05 11:08:16 +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) ->
|
format_errors(Source, Extra, Errors) ->
|
||||||
AbsSource = filename:absname(Source),
|
AbsSource = filename:absname(Source),
|
||||||
[lists:append([format_error(AbsSource, Extra, Desc) || Desc <- Descs])
|
[[format_error(AbsSource, Extra, Desc) || Desc <- Descs]
|
||||||
|| {_, Descs} <- Errors].
|
|| {_, Descs} <- Errors].
|
||||||
|
|
||||||
format_error(AbsSource, Extra, {{Line, Column}, Mod, Desc}) ->
|
format_error(AbsSource, Extra, {{Line, Column}, Mod, Desc}) ->
|
||||||
|
|
Loading…
Reference in a new issue