Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
Signed-off-by: nitishfy <[email protected]>
  • Loading branch information
nitishfy committed Oct 11, 2024
1 parent 40b5ccf commit 652887c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cmd/argocd/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:]
Expand Down

0 comments on commit 652887c

Please sign in to comment.