From 56b4d60634f10d92dbe818cddb30da6d1e027363 Mon Sep 17 00:00:00 2001 From: sreya Date: Thu, 30 Jun 2022 16:48:01 +0000 Subject: [PATCH] fix: don't check version on gitssh cmds --- cli/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/root.go b/cli/root.go index 24b569947f034..c89b0e299ff97 100644 --- a/cli/root.go +++ b/cli/root.go @@ -78,7 +78,7 @@ func Root() *cobra.Command { // Login handles checking the versions itself since it // has a handle to an unauthenticated client. // Server is skipped for obvious reasons. - if cmd.Name() == "login" || cmd.Name() == "server" { + if cmd.Name() == "login" || cmd.Name() == "server" || cmd.Name() == "gitssh" { return nil }