Skip to content

Commit c34c2e7

Browse files
committed
fix: unused parameter
1 parent 4530935 commit c34c2e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

diff/diff.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func Manifests(oldIndex, newIndex map[string]*manifest.MappingResult, options *O
4242
}
4343

4444
func ManifestsOwnership(oldIndex, newIndex map[string]*manifest.MappingResult, newOwnedReleases map[string]OwnershipDiff, options *Options, to io.Writer) bool {
45-
seenAnyChanges, report, err := generateReport(oldIndex, newIndex, nil, options, to)
45+
seenAnyChanges, report, err := generateReport(oldIndex, newIndex, nil, options)
4646
if err != nil {
4747
panic(err)
4848
}
@@ -53,12 +53,12 @@ func ManifestsOwnership(oldIndex, newIndex map[string]*manifest.MappingResult, n
5353
}
5454

5555
func ManifestReport(oldIndex, newIndex map[string]*manifest.MappingResult, options *Options, to io.Writer) (*Report, error) {
56-
_, report, err := generateReport(oldIndex, newIndex, nil, options, to)
56+
_, report, err := generateReport(oldIndex, newIndex, nil, options)
5757

5858
return report, err
5959
}
6060

61-
func generateReport(oldIndex, newIndex map[string]*manifest.MappingResult, newOwnedReleases map[string]OwnershipDiff, options *Options, to io.Writer) (bool, *Report, error) {
61+
func generateReport(oldIndex, newIndex map[string]*manifest.MappingResult, newOwnedReleases map[string]OwnershipDiff, options *Options) (bool, *Report, error) {
6262
report := Report{}
6363
report.setupReportFormat(options.OutputFormat)
6464
var possiblyRemoved []string

0 commit comments

Comments
 (0)