mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-10-19 06:07:21 +02:00
fix: fix zip extract
This commit is contained in:
1 parent
d8de3f189a
commit
ecfd69bd37
3 files changed
+14
-9
No files matched your search
+6
-1
@@ -251,7 +251,12 @@ export default class S3Storage implements StorageBase {
|
||||
},
|
||||
maxParallel: 10,
|
||||
});
|
||||
pipeline(data, toS3, () => {})
|
||||
pipeline(data, toS3, (err) => {
|
||||
if (err) {
|
||||
return reject(err);
|
||||
}
|
||||
resolve();
|
||||
})
|
||||
.on("finish", resolve)
|
||||
.on("error", reject);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user