diff --git a/core/otto.go b/core/otto.go index 507d5a0..253ed70 100644 --- a/core/otto.go +++ b/core/otto.go @@ -21,6 +21,9 @@ func init() { return } for _, v := range files { + if v.IsDir() { + continue + } jr := string(ExecPath + "/develop/" + v.Name()) data := "" if strings.Contains(jr, "http") {