doing lua functions for build files, to run only in afero.FS

This commit is contained in:
2025-10-24 11:10:43 -03:00
parent 6377de7208
commit 26f9e20ae8
5 changed files with 205 additions and 4 deletions

View File

@@ -253,8 +253,8 @@ func LError(L *lua.LState) int {
parts = append(parts, val.String())
}
Llogger().Panic(parts...)
llogger().Panic(parts...)
return 0
}
func Llogger() *log.Logger { return log.New(os.Stderr, " script error: ", 0) }
func llogger() *log.Logger { return log.New(os.Stderr, " script error: ", 0) }