Browse Source

chore: linting

pull/109/head
Jacob McCann 5 years ago
parent
commit
17dc452961
No known key found for this signature in database GPG Key ID: B5A476DE32B9AE72
  1. 4
      plugin.go

4
plugin.go

@ -357,9 +357,9 @@ func getTfoutPath() string {
terraformDataDir := os.Getenv("TF_DATA_DIR") terraformDataDir := os.Getenv("TF_DATA_DIR")
if terraformDataDir == ".terraform" || terraformDataDir == "" { if terraformDataDir == ".terraform" || terraformDataDir == "" {
return "plan.tfout" 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 { func vars(vs map[string]string) []string {

Loading…
Cancel
Save