From d7104ec591eeebd5e978a3843207b20bae7e2618 Mon Sep 17 00:00:00 2001 From: sammy <38820196+TorchedSammy@users.noreply.github.com> Date: Wed, 28 Apr 2021 19:22:11 -0400 Subject: [PATCH] refactor(minor): reduce amount of renamed modules to 0 now --- lua.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua.go b/lua.go index 7919a75..192eaf9 100644 --- a/lua.go +++ b/lua.go @@ -4,7 +4,7 @@ import ( "fmt" "hilbish/golibs/bait" "hilbish/golibs/commander" - lfs "hilbish/golibs/fs" + "hilbish/golibs/fs" "os" "github.com/yuin/gopher-lua" @@ -30,7 +30,7 @@ func LuaInit(confpath string) { l.SetGlobal("appendPath", l.NewFunction(hshappendPath)) // Add fs module to Lua - l.PreloadModule("fs", lfs.Loader) + l.PreloadModule("fs", fs.Loader) cmds := commander.New() // When a command from Lua is added, register it for use