Skip to content

Commit

Permalink
lint fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
pxrth9 committed Oct 22, 2021
1 parent 4e30fd5 commit 1d382fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/cmd/repo/rename/rename.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1d382fa

Please sign in to comment.