2
2
mirror da https://github.com/Hilbis/Hilbish synced 2025-07-02 09:12:03 +00:00

fix: dont print types of args in appendPath

This commit is contained in:
TorchedSammy 2022-03-06 17:19:47 -04:00
parent 539cf402ca
commit ba67278fad
Firmato da: sammyette
ID Chiave GPG: 904FC49417B44DCD

1
api.go
Vedi File

@ -265,7 +265,6 @@ func hlalias(L *lua.LState) int {
func hlappendPath(L *lua.LState) int {
// check if dir is a table or a string
arg := L.Get(1)
fmt.Println(arg.Type())
if arg.Type() == lua.LTTable {
arg.(*lua.LTable).ForEach(func(k lua.LValue, v lua.LValue) {
appendPath(v.String())