artifact-engine
Advanced tools
Comparing version 0.1.17 to 0.1.18
@@ -17,3 +17,2 @@ "use strict"; | ||
var artifactDownloadTicketsPromise = new Promise((resolve, reject) => { | ||
tl.setResourcePath(path.join(path.dirname(__dirname), 'lib.json')); | ||
const workers = []; | ||
@@ -124,2 +123,3 @@ artifactEngineOptions = artifactEngineOptions || new artifactEngineOptions_1.ArtifactEngineOptions(); | ||
exports.ArtifactEngine = ArtifactEngine; | ||
tl.setResourcePath(path.join(path.dirname(__dirname), 'lib.json')); | ||
process.on('unhandledRejection', (err) => { | ||
@@ -126,0 +126,0 @@ ci.publishEvent('reliability', { issueType: 'unhandledRejection', errorMessage: JSON.stringify(err, Object.getOwnPropertyNames(err)) }); |
{ | ||
"name": "artifact-engine", | ||
"version": "0.1.17", | ||
"version": "0.1.18", | ||
"description": "Artifact Engine to download artifacts from jenkins, teamcity, vsts", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -30,2 +30,5 @@ "use strict"; | ||
}); | ||
contentStream.on("error", (error) => { | ||
reject(error); | ||
}); | ||
resolve(contentStream); | ||
@@ -32,0 +35,0 @@ } |
@@ -45,2 +45,5 @@ "use strict"; | ||
}); | ||
res.message.on('error', (error) => { | ||
reject(error); | ||
}); | ||
if (res.message.headers['content-encoding'] === 'gzip') { | ||
@@ -47,0 +50,0 @@ try { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
157989
2208