artifact-engine
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "artifact-engine", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Artifact Engine to download artifacts from jenkins, teamcity, vsts", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -30,2 +30,13 @@ "use strict"; | ||
this.webClient.get(itemUrl).then((res) => { | ||
res.message.on('data', (chunk) => { | ||
if (chunk) { | ||
downloadSize += chunk.length; | ||
} | ||
}); | ||
res.message.on('end', () => { | ||
this.artifactItemStore.updateDownloadSize(artifactItem, downloadSize); | ||
}); | ||
res.message.on('error', (error) => { | ||
reject(error); | ||
}); | ||
resolve(res.message); | ||
@@ -32,0 +43,0 @@ }, (reason) => { |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
282605
6151