lint fix?
This commit is contained in:
parent
4e30fd5ba4
commit
1d382fa7ca
1 changed files with 1 additions and 2 deletions
|
|
@ -63,8 +63,7 @@ func NewCmdRename(f *cmdutil.Factory, runf func(*RenameOptions) error) *cobra.Co
|
|||
if len(args) > 0 {
|
||||
opts.newRepoSelector = args[0]
|
||||
} else if !opts.IO.CanPrompt() {
|
||||
return &cmdutil.FlagError{
|
||||
Err: errors.New("could not prompt: proceed with a repo name")}
|
||||
return &cmdutil.FlagError{Err: errors.New("could not prompt: proceed with a repo name")}
|
||||
}
|
||||
|
||||
if runf != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue