mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-04-01 03:10:18 +02:00
fix: fix zip extract
This commit is contained in:
@@ -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