From 17dc4529614282b7a9f8e205dcee5d344842fc77 Mon Sep 17 00:00:00 2001 From: Jacob McCann Date: Tue, 26 Nov 2019 08:56:24 -0600 Subject: [PATCH] chore: linting --- plugin.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.go b/plugin.go index 41ca4b0..4afe66d 100644 --- a/plugin.go +++ b/plugin.go @@ -357,9 +357,9 @@ func getTfoutPath() string { terraformDataDir := os.Getenv("TF_DATA_DIR") if terraformDataDir == ".terraform" || terraformDataDir == "" { return "plan.tfout" - } else { - return fmt.Sprintf("%s.plan.tfout", terraformDataDir) } + + return fmt.Sprintf("%s.plan.tfout", terraformDataDir) } func vars(vs map[string]string) []string {