mirror of https://github.com/Hilbis/Hilbish
chore: cleanup and remove extra spaces
parent
ce5ac86a4c
commit
14064eceda
|
@ -46,7 +46,7 @@ do
|
|||
local virt_G = { }
|
||||
|
||||
setmetatable(_G, {
|
||||
__index = function (self, key)
|
||||
__index = function (_, key)
|
||||
local got_virt = virt_G[key]
|
||||
if got_virt ~= nil then
|
||||
return got_virt
|
||||
|
@ -56,7 +56,7 @@ do
|
|||
return virt_G[key]
|
||||
end,
|
||||
|
||||
__newindex = function (self, key, value)
|
||||
__newindex = function (_, key, value)
|
||||
if type(value) == 'string' then
|
||||
os.setenv(key, value)
|
||||
virt_G[key] = value
|
||||
|
|
Loading…
Reference in New Issue