mirror of
				https://github.com/sammy-ette/Hilbish
				synced 2025-08-10 02:52:03 +00:00 
			
		
		
		
	refactor(minor): reduce amount of renamed modules to 0 now
This commit is contained in:
		
							parent
							
								
									e0cf87d272
								
							
						
					
					
						commit
						d7104ec591
					
				
							
								
								
									
										4
									
								
								lua.go
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								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
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user