Skip to content

Commit

Permalink
Remove use of the format list in the connect command (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdtw authored Feb 24, 2022
1 parent d167b5f commit f8a8c1f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,9 @@ func Run(args []string, tty terminal.Terminal) int {
result.VerifyResult = &verifyResult

certList := result.Certificates
formatList := result.Formats
if *connectFirst && len(certList) > 0 {
certList = certList[:1]
formatList = formatList[:1]
result.Certificates = certList
result.Formats = formatList
}

if *connectJSON {
Expand Down

0 comments on commit f8a8c1f

Please sign in to comment.