File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -320,7 +320,6 @@ const SBFileUploaderHOC = function (WrappedComponent) {
320
320
async readFolderHandleRecursively ( folderHandle , zip , path = "" ) {
321
321
for await ( const handle of folderHandle . values ( ) ) {
322
322
const handlePath = `${ path } ${ handle . name } ` ;
323
- console . debug ( handlePath )
324
323
325
324
if ( handle . kind === "file" ) {
326
325
const file = await handle . getFile ( ) ;
@@ -330,8 +329,8 @@ const SBFileUploaderHOC = function (WrappedComponent) {
330
329
// NOTE: Right now there's no reason to preserve directories, but the future save file format will use them.
331
330
// See here for more info: https://docs.penguinmod.com/save-format/
332
331
// we read the folder handle again
333
- const folder = zip . folder ( handlePath ) ;
334
- await this . readFolderHandleRecursively ( handle , folder , `${ handlePath } /` ) ;
332
+ zip . folder ( handlePath )
333
+ await this . readFolderHandleRecursively ( handle , zip , `${ handlePath } /` ) ;
335
334
}
336
335
}
337
336
}
You can’t perform that action at this time.
0 commit comments