So now that module(...) is deprecated does anyone know the expected standard pattern? The changes say to just build it with code (setting _ENV?) but do the devs have a "right way" to do it?
-- localize all the stuff you need
local _ENV = {}
-- module code
return _ENV
So really not that much code to add yourself.https://github.com/keplerproject/luacov/blob/master/src/luac...