Skip to content

Commit f7157da

Browse files
stemplate function is not needed...
1 parent c9c2aee commit f7157da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graph_objects/enumerates.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const (
2525
{{- range $value := $attr.values }}
2626
{{- if kindIs "string" $value }}
2727
{{- if ne $value "" }}
28-
{{$formatName}}_{{ stemplate "cleanupName" $value }} {{ $formatName }} = {{ quote $value }}
28+
{{$formatName}}_{{ template "cleanupName" $value }} {{ $formatName }} = {{ quote $value }}
2929
{{- end }}
3030
{{- else if kindIs "float64" $value }}
3131
{{$formatName}}{{ $value | toString | title | replace "-" "_" }} {{ $formatName }} = {{ quote $value }}

0 commit comments

Comments
 (0)