mirror of
https://github.com/ent/ent.git
synced 2026-05-28 09:49:08 +03:00
entc/gen: remove space around continue for 1.18 compatible (#2962)
Related: https://github.com/golang/go/issues/51670 Signed-off-by: Giau. Tran Minh <hello@giautm.dev> Signed-off-by: Giau. Tran Minh <hello@giautm.dev>
This commit is contained in:
@@ -129,7 +129,7 @@ func ({{ $receiver }} *{{ $builder }}) sqlSave(ctx context.Context) ({{ $ret }}
|
||||
{{- range $e := $.EdgesWithID }}
|
||||
{{- if $e.Immutable }}
|
||||
{{- /* Skip to the next one as immutable edges cannot be updated. */}}
|
||||
{{- continue }}
|
||||
{{- continue}}
|
||||
{{- end }}
|
||||
if {{ $mutation }}.{{ $e.MutationCleared }}() {
|
||||
{{- with extend $ "Edge" $e }}
|
||||
|
||||
Reference in New Issue
Block a user