Skip to content

Commit

Permalink
Fix spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
ReneWerner87 committed Mar 20, 2024
1 parent 9c31dc4 commit 913c1a2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions jet/jet.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,13 @@ func (e *Engine) Render(out io.Writer, name string, binding interface{}, layout
return err
}
var renderingError error
bind.Set(e.LayoutName, func() {
bind.Set(e.LayoutName, func() {
renderingError = tmpl.Execute(out, bind, nil)
})
err = lay.Execute(out, bind, nil)
if renderingError != nil {
})
err = lay.Execute(out, bind, nil)
if renderingError != nil {
return renderingError
}
}
return err
}
return tmpl.Execute(out, bind, nil)
Expand Down

0 comments on commit 913c1a2

Please sign in to comment.