Skip to content

Commit

Permalink
Merge pull request #77 from dmikusa-pivotal/build-bom
Browse files Browse the repository at this point in the history
Include BOM in test for emptiness
  • Loading branch information
hone authored Sep 24, 2021
2 parents 0a77d8c + 45321cb commit 8496ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ type BuildTOML struct {
}

func (b BuildTOML) isEmpty() bool {
return len(b.Unmet) == 0
return len(b.BOM) == 0 && len(b.Unmet) == 0
}

// BOMEntry contains a bill of materials entry.
Expand Down

0 comments on commit 8496ef4

Please sign in to comment.