Compare commits

..

3 Commits

View File

@@ -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