Compare commits
3 Commits
9a1596e932
...
d6fe09dbcd
| Author | SHA1 | Date | |
|---|---|---|---|
|
d6fe09dbcd
|
|||
|
3e566d1847
|
|||
|
1e7f79bfbf
|
@@ -228,7 +228,7 @@ func (t *HotTemplate) run() (Template, error) {
|
||||
err = fmt.Errorf("HotTemplate: first argument is not of type fs.FS")
|
||||
break
|
||||
}
|
||||
patterns, ok := method.args[0].([]string)
|
||||
patterns, ok := method.args[1].([]string)
|
||||
if !ok {
|
||||
err = fmt.Errorf("HotTemplate: second argument is not of type []string")
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user