Skip to content

Commit

Permalink
fix(lint): unused arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
shipengqi committed Apr 30, 2024
1 parent 484a97d commit 8cf8266
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/cz/cz.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func New() *cobra.Command {
c := &cobra.Command{
Use: "commitizen",
Long: `Command line utility to standardize git commit messages.`,
PreRun: func(cmd *cobra.Command, args []string) {
PreRun: func(_ *cobra.Command, _ []string) {
if !o.Debug {
return
}
Expand Down
3 changes: 2 additions & 1 deletion internal/options/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ import (
"os"
"path/filepath"

"github.com/shipengqi/commitizen/internal/git"
cliflag "github.com/shipengqi/component-base/cli/flag"

"github.com/shipengqi/commitizen/internal/git"
)

type Options struct {
Expand Down
3 changes: 2 additions & 1 deletion internal/parameter/types.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package parameter

import (
"github.com/shipengqi/golib/strutil"
"strings"

"github.com/shipengqi/golib/strutil"
)

const (
Expand Down

0 comments on commit 8cf8266

Please sign in to comment.