Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6ad0f31

Browse files
authored
fix: don't check version on gitssh cmds (coder#2757)
1 parent 6499770 commit 6ad0f31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/root.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func Root() *cobra.Command {
7878
// Login handles checking the versions itself since it
7979
// has a handle to an unauthenticated client.
8080
// Server is skipped for obvious reasons.
81-
if cmd.Name() == "login" || cmd.Name() == "server" {
81+
if cmd.Name() == "login" || cmd.Name() == "server" || cmd.Name() == "gitssh" {
8282
return nil
8383
}
8484

0 commit comments

Comments
 (0)