We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa118c2 commit a9f3e72Copy full SHA for a9f3e72
1 file changed
cmd/cmd.go
@@ -9,13 +9,13 @@ import (
9
"github.com/urfave/cli/v2"
10
)
11
12
-// Run is shorthand for New and calling cmd.Run with os.Args
+// Run runs the commandline with os.Args
13
func Run() error {
14
- return New().Run(os.Args)
+ return new().Run(os.Args)
15
}
16
17
-// New returns commitlint cli.App
18
-func New() *cli.App {
+// new returns commitlint cli.App
+func new() *cli.App {
19
cmds := []*cli.Command{
20
initCmd(),
21
lintCmd(),
0 commit comments