Skip to content

Commit

Permalink
ci: make linter happy again
Browse files Browse the repository at this point in the history
  • Loading branch information
tboerger committed Aug 29, 2024
1 parent 4b13990 commit 7ab3cf5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ endif

GOBUILD ?= CGO_ENABLED=0 go build
PACKAGES ?= $(shell go list ./...)
SOURCES ?= $(shell find . -name "*.go" -type f)
SOURCES ?= $(shell find . -name "*.go" -type f -not -path ./.devenv/\* -not -path ./.direnv/\*)
GENERATE ?= $(PACKAGES)

TAGS ?= netgo
Expand Down
2 changes: 1 addition & 1 deletion pkg/command/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var (
SilenceErrors: false,
SilenceUsage: true,

PersistentPreRunE: func(ccmd *cobra.Command, args []string) error {
PersistentPreRunE: func(_ *cobra.Command, _ []string) error {
return setupLogger()
},

Expand Down
2 changes: 1 addition & 1 deletion pkg/command/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var (
Aliases: []string{"gen"},
Short: "Generate output from template",
Run: generateAction,
Args: func(cmd *cobra.Command, args []string) error {
Args: func(_ *cobra.Command, args []string) error {
if len(args) != 1 {
return fmt.Errorf("missing template argument")
}
Expand Down

0 comments on commit 7ab3cf5

Please sign in to comment.