From 6ad0f316875737728c6a490c220d8c0bc4508a7c Mon Sep 17 00:00:00 2001 From: Jon Ayers Date: Thu, 30 Jun 2022 12:03:41 -0500 Subject: [PATCH] fix: don't check version on gitssh cmds (#2757) --- cli/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/root.go b/cli/root.go index 24b569947f..c89b0e299f 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 }