Skip to content

Commit

Permalink
add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
knqyf263 committed Jul 19, 2022
1 parent 7a885bc commit 1ed1d28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/report/table/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ type Renderer interface {

// Write writes the result on standard output
func (tw Writer) Write(report types.Report) error {
// Iterate results to extract packages first, then write tables for each result
pkgs := map[string][]ftypes.Package{}
for _, result := range report.Results {
if result.Class == types.ClassOSPkg || result.Class == types.ClassLangPkg {
Expand Down

0 comments on commit 1ed1d28

Please sign in to comment.