mirror of
https://github.com/ducbao414/win32.run.git
synced 2025-12-17 01:32:50 +09:00
migrate: remove .files, .folders, use .children instead
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
if(cancelled) return;
|
||||
if(item.type == 'folder'){
|
||||
let folder = parent.folder(item.name);
|
||||
for(let child_item of [...item.folders, ...item.files]){
|
||||
for(let child_item of [...item.children]){
|
||||
child_item = $hardDrive[child_item];
|
||||
await add_to_archive(folder, child_item);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user