From 9003034c1c9488690eb3d9e91c931d897d289c2b Mon Sep 17 00:00:00 2001 From: Parth Patel Date: Wed, 20 Oct 2021 16:17:29 -0400 Subject: [PATCH] lint fix --- pkg/cmd/repo/rename/rename.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/repo/rename/rename.go b/pkg/cmd/repo/rename/rename.go index 05868155d..43bd3c455 100644 --- a/pkg/cmd/repo/rename/rename.go +++ b/pkg/cmd/repo/rename/rename.go @@ -54,7 +54,7 @@ func NewCmdRename(f *cmdutil.Factory, runf func(*RenameOptions) error) *cobra.Co With '-R', and two arguments the given repository is replaced with the new name `, Args: cobra.MaximumNArgs(1), RunE: func(cmd *cobra.Command, args []string) error { - if len(args) > 0 { + if len(args) > 0 { opts.newRepoSelector = args[0] } else { if !opts.IO.CanPrompt() {