Use canonical imports (#822)

* fix: challenge are not required for revoke.
This commit is contained in:
Ludovic Fernandez 2019-03-11 16:54:35 +01:00 committed by GitHub
parent 62fea05e21
commit 219222fdda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
197 changed files with 229 additions and 231 deletions

View file

@ -1,4 +1,4 @@
package cmd
package cmd // import "github.com/xenolf/lego/cmd"
import (
"bufio"
@ -47,6 +47,7 @@ func run(ctx *cli.Context) error {
accountsStorage := NewAccountsStorage(ctx)
account, client := setup(ctx, accountsStorage)
setupChallenges(ctx, client)
if account.Registration == nil {
reg, err := register(ctx, client)