forked from mirror/gin
fix typo in PR for #119
This commit is contained in:
parent
97ae4a6b65
commit
e5a7bcd6df
|
@ -107,7 +107,7 @@ func (r *htmlDebugRender) Render(w http.ResponseWriter, code int, data ...interf
|
|||
}
|
||||
|
||||
for _, glob := range r.globs {
|
||||
if _, err = t.ParseGlob(glob); err != nil {
|
||||
if _, err := t.ParseGlob(glob); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue