mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-22 23:22:47 +00:00
fix: improve S3 reliability
This commit is contained in:
@@ -106,7 +106,9 @@ export default class GitHubDownload extends GitHubBase implements SourceBase {
|
||||
|
||||
try {
|
||||
const downloadStream = got.stream(response.url);
|
||||
downloadStream.addListener("downloadProgress", (p) => (progress = p));
|
||||
downloadStream.addListener("downloadProgress", async (p) => {
|
||||
progress = p;
|
||||
});
|
||||
await storage.extractZip(originalPath, downloadStream, undefined, this);
|
||||
} catch (error) {
|
||||
await this.repository.updateStatus(
|
||||
|
||||
Reference in New Issue
Block a user