Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Vernin <[email protected]>
  • Loading branch information
olblak committed Apr 22, 2024
1 parent 5980a35 commit aec7350
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/plugins/github/releases.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ func (g *Github) searchReleases() (releases []string, err error) {
for i := len(query.Repository.Releases.Edges) - 1; i >= 0; i-- {
node := query.Repository.Releases.Edges[i]

// versionfilter.Search returns the last matching item from the version lits
// Since we only provide ony element in the list, we can safely assume that no element
// versionfilter.Search returns the last matching item from the version list
// Since we only provide one element in the list, we can safely assume that no element
// will be returned if the version doesn't match the pattern
foundVersion, err := g.versionFilter.Search([]string{node.Node.TagName})
if err != nil {
Expand Down

0 comments on commit aec7350

Please sign in to comment.