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