From 652887c2994d1e0b8f21a4eb1a7483a36b81f157 Mon Sep 17 00:00:00 2001 From: nitishfy Date: Fri, 11 Oct 2024 12:55:08 +0530 Subject: [PATCH] remove dead code Signed-off-by: nitishfy --- cmd/argocd/commands/root.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmd/argocd/commands/root.go b/cmd/argocd/commands/root.go index 1eebb1a11af5b..508dfbeb24559 100644 --- a/cmd/argocd/commands/root.go +++ b/cmd/argocd/commands/root.go @@ -39,10 +39,6 @@ func NewDefaultArgoCDCommand() *cobra.Command { func NewDefaultArgoCDCommandWithArgs(o ArgoCDCLIOptions) *cobra.Command { cmd := NewCommand() - if o.PluginHandler == nil { - return cmd - } - // the first argument will be the binary, followed by other arguments if len(o.Arguments) > 1 { cmdPathPieces := o.Arguments[1:]