mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-06 11:12:40 +01:00
Update ECSAPI.lua
This commit is contained in:
parent
b8d08ec2df
commit
256961e9fa
@ -1668,7 +1668,7 @@ end
|
||||
function ECSAPI.formatHDD(address)
|
||||
local proxy = component.proxy(address)
|
||||
local list = proxy.list("")
|
||||
for _, file in list do
|
||||
for _, file in pairs(list) do
|
||||
if not proxy.isReadOnly(file) then proxy.remove(file) end
|
||||
end
|
||||
list = nil
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user