in internal/tfengine/tfengine.go [353:370]
func trimDescriptions(schema map[string]interface{}) {
val := reflect.ValueOf(schema)
for _, key := range val.MapKeys() {
v := val.MapIndex(key)
switch t := v.Interface().(type) {
case map[string]interface{}:
trimDescriptions(t)
case string:
if key.String() == "description" {
description := v.Interface().(string)
trimmedDescription := strings.TrimSpace(leftTrim(description))
schema["description"] = trimmedDescription
}
}
}
}