Refactor global environment setup by removing redundant assignments to _ENV
This commit is contained in:
1 parent
42fe204615
commit
68aa645494
2 files changed
+13
-3
No files matched your search
@@ -87,8 +87,6 @@ local function getSharedLib()
|
||||
end
|
||||
|
||||
cLib = setmetatable(getSharedLib(), { __index = IsDuplicityVersion() and getServerLib() or getClientLib() })
|
||||
_ENV.cLib = cLib
|
||||
_ENV.Require = Require
|
||||
exports('cLib', function()
|
||||
return cLib
|
||||
end)
|
||||
|
||||
Reference in new issue
Block a user