refactor(minor): reduce amount of renamed modules to 0 now

pull/42/head
sammy 2021-04-28 19:22:11 -04:00
parent e0cf87d272
commit d7104ec591
No known key found for this signature in database
GPG Key ID: 50EE40A2809851F5
1 changed files with 2 additions and 2 deletions

4
lua.go
View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"hilbish/golibs/bait" "hilbish/golibs/bait"
"hilbish/golibs/commander" "hilbish/golibs/commander"
lfs "hilbish/golibs/fs" "hilbish/golibs/fs"
"os" "os"
"github.com/yuin/gopher-lua" "github.com/yuin/gopher-lua"
@ -30,7 +30,7 @@ func LuaInit(confpath string) {
l.SetGlobal("appendPath", l.NewFunction(hshappendPath)) l.SetGlobal("appendPath", l.NewFunction(hshappendPath))
// Add fs module to Lua // Add fs module to Lua
l.PreloadModule("fs", lfs.Loader) l.PreloadModule("fs", fs.Loader)
cmds := commander.New() cmds := commander.New()
// When a command from Lua is added, register it for use // When a command from Lua is added, register it for use