Fix loading of c2g zips, oops
This commit is contained in:
1 parent
0098660d7b
commit
43d5d65366
1 file changed
+5
-1
+5
-1
@@ -378,7 +378,7 @@ export class FileSource {
|
||||
async get(path) {}
|
||||
|
||||
// Get a list of all files under here, recursively
|
||||
async *iter_all_files() {}
|
||||
// async *iter_all_files() {}
|
||||
}
|
||||
// Files we have had uploaded one at a time (note that each upload becomes its own source)
|
||||
export class FileFileSource extends FileSource {
|
||||
@@ -542,4 +542,8 @@ export class ZipFileSource extends FileSource {
|
||||
|
||||
return file.buffer;
|
||||
}
|
||||
|
||||
iter_all_files() {
|
||||
return Object.keys(this.files);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user