Skip to content

Commit 8cf8266

Browse files
committed
fix(lint): unused arguments
1 parent 484a97d commit 8cf8266

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

cmd/cz/cz.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func New() *cobra.Command {
2424
c := &cobra.Command{
2525
Use: "commitizen",
2626
Long: `Command line utility to standardize git commit messages.`,
27-
PreRun: func(cmd *cobra.Command, args []string) {
27+
PreRun: func(_ *cobra.Command, _ []string) {
2828
if !o.Debug {
2929
return
3030
}

internal/options/options.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ import (
55
"os"
66
"path/filepath"
77

8-
"github.com/shipengqi/commitizen/internal/git"
98
cliflag "github.com/shipengqi/component-base/cli/flag"
9+
10+
"github.com/shipengqi/commitizen/internal/git"
1011
)
1112

1213
type Options struct {

internal/parameter/types.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
package parameter
22

33
import (
4-
"github.com/shipengqi/golib/strutil"
54
"strings"
5+
6+
"github.com/shipengqi/golib/strutil"
67
)
78

89
const (

0 commit comments

Comments
 (0)