2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-21 04:53:24 +00:00

fix: remove use of old util document function

This commit is contained in:
sammyette 2023-02-19 15:30:05 -04:00
parent 8aa9f3cb3a
commit a0a22d6e93
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

1
api.go
View File

@ -165,7 +165,6 @@ func hilbishLoad(rtm *rt.Runtime) (rt.Value, func()) {
mod.Set(rt.StringValue("version"), rt.TableValue(versionModule)) mod.Set(rt.StringValue("version"), rt.TableValue(versionModule))
pluginModule := moduleLoader(rtm) pluginModule := moduleLoader(rtm)
util.Document(pluginModule, "")
mod.Set(rt.StringValue("module"), rt.TableValue(pluginModule)) mod.Set(rt.StringValue("module"), rt.TableValue(pluginModule))
return rt.TableValue(fakeMod), nil return rt.TableValue(fakeMod), nil