Skip to content

Commit a9f3e72

Browse files
refactor(cmd): unexport cmd.new
1 parent aa118c2 commit a9f3e72

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

cmd/cmd.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ import (
99
"github.com/urfave/cli/v2"
1010
)
1111

12-
// Run is shorthand for New and calling cmd.Run with os.Args
12+
// Run runs the commandline with os.Args
1313
func Run() error {
14-
return New().Run(os.Args)
14+
return new().Run(os.Args)
1515
}
1616

17-
// New returns commitlint cli.App
18-
func New() *cli.App {
17+
// new returns commitlint cli.App
18+
func new() *cli.App {
1919
cmds := []*cli.Command{
2020
initCmd(),
2121
lintCmd(),

0 commit comments

Comments
 (0)