Remove unnecessary additional newlines in extract generated interface wrappers
A side effect of #1281 is that it added unnecessary additional newlines in generated interface wrappers from the `extract` tool. This PR removes those newlines from the extract tool template and updates the generated code with that change.
This commit is contained in:
@@ -87,8 +87,8 @@ func init() {
|
||||
if W.WString == nil {
|
||||
return ""
|
||||
}
|
||||
{{end -}}
|
||||
{{$m.Ret}} W.W{{$m.Name}}{{$m.Arg}}
|
||||
{{end}}
|
||||
{{- $m.Ret}} W.W{{$m.Name}}{{$m.Arg -}}
|
||||
}
|
||||
{{end}}
|
||||
{{end}}
|
||||
|
||||
Reference in New Issue
Block a user