Skip to content

Commit

Permalink
remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelEischer committed Nov 11, 2023
1 parent 34ddcea commit 4a624e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ func githubIDs(urls []*url.URL, e *Entry) {
}
}

func readEntries(dir string, versions []Release) (entries map[string][]Entry) {
func readEntries(versions []Release) (entries map[string][]Entry) {
entries = make(map[string][]Entry)

for _, ver := range versions {
Expand Down Expand Up @@ -500,7 +500,7 @@ func main() {
}
}

all := readEntries(opts.InputDir, releases)
all := readEntries(releases)
for _, ver := range releases {
if len(all[ver.Version]) == 0 {
continue
Expand Down

0 comments on commit 4a624e8

Please sign in to comment.