From 0fb018d791d81e02e6a0a1194975227f5ee077ae Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Wed, 29 Sep 2021 12:22:21 +0800 Subject: [PATCH] update --- core/otto.go | 3 +++ 1 file changed, 3 insertions(+) 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") {