diff --git a/Tasks/DownloadBuildArtifacts/main.ts b/Tasks/DownloadBuildArtifacts/main.ts index 1601e7180ab4..65e6ad5ccf1f 100644 --- a/Tasks/DownloadBuildArtifacts/main.ts +++ b/Tasks/DownloadBuildArtifacts/main.ts @@ -252,8 +252,8 @@ async function main(): Promise { } console.log(tl.loc("DownloadArtifacts", artifactLocation)); - var fileShareProvider = new providers.FilesystemProvider(artifactLocation); - var fileSystemProvider = new providers.FilesystemProvider(downloadPath + '\\' + artifact.name); + var fileShareProvider = new providers.FilesystemProvider(artifactLocation, artifact.name); + var fileSystemProvider = new providers.FilesystemProvider(downloadPath); downloadPromises.push(downloader.processItems(fileShareProvider, fileSystemProvider, downloaderOptions).catch((reason) => { reject(reason); diff --git a/Tasks/DownloadBuildArtifacts/package-lock.json b/Tasks/DownloadBuildArtifacts/package-lock.json index 8fcb99239837..94d177f8e70b 100644 --- a/Tasks/DownloadBuildArtifacts/package-lock.json +++ b/Tasks/DownloadBuildArtifacts/package-lock.json @@ -20,9 +20,9 @@ "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=" }, "artifact-engine": { - "version": "0.1.18", - "resolved": "https://registry.npmjs.org/artifact-engine/-/artifact-engine-0.1.18.tgz", - "integrity": "sha512-91KWT9tA5SdVpuCpoJlCMpIVQGVSu8Rc4MI2gXWVQa/pZC67uks9ZnpkXa8ZPYFgRJ0I6tJ2itCFUtoKrqn2gg==", + "version": "0.1.21", + "resolved": "https://registry.npmjs.org/artifact-engine/-/artifact-engine-0.1.21.tgz", + "integrity": "sha512-lmAJ/CZ2kp01R0Q8NuBG2o4iMu1zean8f9XpHzibRw+scKDUlymUJlnuVxALsyLzXZS279mJ/PEL8zOsr8asvA==", "requires": { "handlebars": "4.0.10", "minimatch": "3.0.2", diff --git a/Tasks/DownloadBuildArtifacts/package.json b/Tasks/DownloadBuildArtifacts/package.json index f895a131a980..10751f263e82 100644 --- a/Tasks/DownloadBuildArtifacts/package.json +++ b/Tasks/DownloadBuildArtifacts/package.json @@ -19,6 +19,6 @@ "dependencies": { "vsts-task-lib": "2.1.0", "vso-node-api": "^6.2.8-preview", - "artifact-engine": "0.1.19" + "artifact-engine": "0.1.21" } } diff --git a/Tasks/DownloadBuildArtifacts/task.json b/Tasks/DownloadBuildArtifacts/task.json index 9d6ea1086133..335696f5520e 100644 --- a/Tasks/DownloadBuildArtifacts/task.json +++ b/Tasks/DownloadBuildArtifacts/task.json @@ -9,7 +9,7 @@ "version": { "Major": 0, "Minor": 133, - "Patch": 1 + "Patch": 2 }, "groups": [ { diff --git a/Tasks/DownloadBuildArtifacts/task.loc.json b/Tasks/DownloadBuildArtifacts/task.loc.json index 0a5096bf5a23..11b9f6a97e8c 100644 --- a/Tasks/DownloadBuildArtifacts/task.loc.json +++ b/Tasks/DownloadBuildArtifacts/task.loc.json @@ -9,7 +9,7 @@ "version": { "Major": 0, "Minor": 133, - "Patch": 1 + "Patch": 2 }, "groups": [ {