Skip to content

Commit

Permalink
lint whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
qrkourier committed Jul 25, 2024
1 parent 0598e45 commit 50ffaf8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion pkg/github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ func (c *Client) GetRelease(_ context.Context, tag string) (*Release, error) {

// GetLatestChartRelease queries the GitHub API for the previous release of a chart
func (c *Client) GetLatestChartRelease(_ context.Context, prefix string) (*Release, error) {

// Append hyphen to prefix unless already present
prefix = strings.TrimSuffix(prefix, "-") + "-"

Expand Down
2 changes: 0 additions & 2 deletions pkg/releaser/releaser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ func (f *FakeGitHub) CreatePullRequest(owner string, repo string, message string

// GetLatestChartRelease queries the GitHub API for the previous release of a chart
func (f *FakeGitHub) GetLatestChartRelease(_ context.Context, prefix string) (*github.Release, error) {

f.Called(prefix)

result := &github.Release{
Expand All @@ -135,7 +134,6 @@ func (f *FakeGitHub) GetLatestChartRelease(_ context.Context, prefix string) (*g

// GenerateReleaseNotes generates the release notes for a release
func (f *FakeGitHub) GenerateReleaseNotes(_ context.Context, latestRelease *github.Release, nextRelease string) (string, error) {

f.Called(latestRelease, nextRelease)

notes := "# Noted."
Expand Down

0 comments on commit 50ffaf8

Please sign in to comment.