diff --git a/internal/templates/schema.gotmpl b/internal/templates/schema.gotmpl index 16f15ae8..93302fe8 100644 --- a/internal/templates/schema.gotmpl +++ b/internal/templates/schema.gotmpl @@ -20,10 +20,10 @@ return schema.Schema{ {{- AttributesString}} }, {{- end}} - {{- if gt (len .GeneratorSchema.Blocks) 0 }} - Blocks: map[string]schema.Block{ - {{- BlocksString}} - }, - {{- end}} + {{- if gt (len .GeneratorSchema.Blocks) 0 }} + Blocks: map[string]schema.Block{ + {{- BlocksString}} + }, + {{- end}} } }