Skip to content

Commit

Permalink
Report output for aws/gcp should be distinct
Browse files Browse the repository at this point in the history
  • Loading branch information
sksamuel committed Aug 25, 2022
1 parent d493d6a commit 3bfe5b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ data class DecoderContext(

fun report(section: String, row: Map<String, Any?>) {
val rows = reports.getOrPut(section) { emptyList() }
reports[section] = rows + row
reports[section] = (rows + row).distinct()
}

companion object {
Expand Down

0 comments on commit 3bfe5b2

Please sign in to comment.