chore: cleanup and remove extra spaces

pull/61/head
sammyette 2021-06-09 18:41:37 -04:00
parent ce5ac86a4c
commit 14064eceda
No known key found for this signature in database
GPG Key ID: 50EE40A2809851F5
1 changed files with 9 additions and 9 deletions

View File

@ -46,7 +46,7 @@ do
local virt_G = { } local virt_G = { }
setmetatable(_G, { setmetatable(_G, {
__index = function (self, key) __index = function (_, key)
local got_virt = virt_G[key] local got_virt = virt_G[key]
if got_virt ~= nil then if got_virt ~= nil then
return got_virt return got_virt
@ -56,7 +56,7 @@ do
return virt_G[key] return virt_G[key]
end, end,
__newindex = function (self, key, value) __newindex = function (_, key, value)
if type(value) == 'string' then if type(value) == 'string' then
os.setenv(key, value) os.setenv(key, value)
virt_G[key] = value virt_G[key] = value