Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bakito committed Mar 20, 2023
1 parent c0cd907 commit 4c24e7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ DEEPCOPY_GEN ?= $(LOCALBIN)/deepcopy-gen

## Tool Versions
SEMVER_VERSION ?= v1.1.3
GOLANGCI_LINT_VERSION ?= v1.51.2
DEEPCOPY_GEN_VERSION ?= v0.26.2
GOLANGCI_LINT_VERSION ?= v1.52.0
DEEPCOPY_GEN_VERSION ?= v0.26.3

## Tool Installer
.PHONY: semver
Expand Down
5 changes: 1 addition & 4 deletions cmd/fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,7 @@ func downloadFromURL(client *resty.Client, ver map[string]string, tmp string, tb
log.Printf("✅ Skipping since already latest version\n")
return nil
}
if err := fetchTool(tmp, tool.Name, tool.Name, parseTemplate(tool.DownloadURL, tool.Version), tb.Target); err != nil {
return err
}
return nil
return fetchTool(tmp, tool.Name, tool.Name, parseTemplate(tool.DownloadURL, tool.Version), tb.Target)
}

func findMatching(toolName string, assets []types.Asset) *types.Asset {
Expand Down

0 comments on commit 4c24e7a

Please sign in to comment.