Skip to content

Commit

Permalink
Fixes linting
Browse files Browse the repository at this point in the history
  • Loading branch information
richmahn committed Aug 17, 2023
1 parent 6644091 commit 15e3d27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/repo/release_dcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ package repo

import "regexp"

func (release *Release) IsCatalogVersion() bool {
return regexp.MustCompile(`^v\d`).Match([]byte(release.TagName)) || regexp.MustCompile(`^\d\d\d\d`).Match([]byte(release.TagName))
func (r *Release) IsCatalogVersion() bool {
return regexp.MustCompile(`^v\d`).Match([]byte(r.TagName)) || regexp.MustCompile(`^\d\d\d\d`).Match([]byte(r.TagName))
}

0 comments on commit 15e3d27

Please sign in to comment.