Skip to content

Commit f490ed0

Browse files
refactor(cmd): rename new to newCmd
1 parent b9410fe commit f490ed0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmd/cmd.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ import (
1111

1212
// Run runs the commandline with os.Args
1313
func Run() error {
14-
return new().Run(os.Args)
14+
return newCmd().Run(os.Args)
1515
}
1616

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

0 commit comments

Comments
 (0)