Commit adbe5da6 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen Committed by Oswald Buddenhagen
Browse files

rework complaint reporting


instead of dumping everything straight to stdout, buffer it in a hash
first.
there are multiple advantages:
- in some cases, we'd get line-less complaints only after ones with
  lines, which would look funny. the buffering allows us to sort the
  output.
- different output formats will be easier to implement.
- the output code is cleaner, as it can hold the state more locally.

Change-Id: I0b558ecb58cf4d44a7efbd5a13a79349c55283f9
Reviewed-by: default avatarOrgad Shaneh <orgads@gmail.com>
parent 67fcbe7b
No related merge requests found
Showing with 49 additions and 68 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment