Skip to content

Commit

Permalink
Use tab for variable block indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrudd committed May 24, 2018
1 parent 427d9ad commit 876a465
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions generator.go
Expand Up @@ -17,10 +17,9 @@ var tfFileExt = "*.tf"
var dstFile = "./variables.tf"
var varTemplate = template.Must(template.New("var_file").Parse(`{{range .}}
variable "{{ . }}" {
description = ""
description = ""
}
{{end}}
`))
{{end}}`))

func init() {
replacer = strings.NewReplacer(":", ".",
Expand Down

0 comments on commit 876a465

Please sign in to comment.