From 62b4fa8671b22d6fdf5f23d9a0708b4c0e553146 Mon Sep 17 00:00:00 2001 From: 1138-4EB <1138-4EB@users.noreply.github.com> Date: Tue, 8 Jan 2019 20:44:24 +0100 Subject: [PATCH] style --- cmd/root.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index 01e08bb3..9a652be0 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -233,9 +233,7 @@ func quickSetup(flags *pflag.FlagSet, d pythonData) { }, } - _, noauth := getParamB(flags, "noauth") - - if noauth { + if _, noauth := getParamB(flags, "noauth"); noauth { set.AuthMethod = auth.MethodNoAuth err = d.store.Auth.Save(&auth.NoAuth{}) } else {