Skip to content

Commit f7b648f

Browse files
committed
Remove deadcode PreRunE func
1 parent 67d4c83 commit f7b648f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cmd/desc_branch.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ var descBranchCmd = &cobra.Command{
3333
SilenceUsage: true,
3434
DisableAutoGenTag: true,
3535
Args: cobra.ExactArgs(1),
36-
PreRunE: func(cmd *cobra.Command, args []string) error {
37-
return nil
38-
},
3936
RunE: func(cmd *cobra.Command, args []string) error {
4037
return descBranch(
4138
getFlagString(cmd, "project"),

0 commit comments

Comments
 (0)