Skip to content

Commit

Permalink
fileshare partial download fix (#6944) (#6961)
Browse files Browse the repository at this point in the history
* fileshare partial download fix (#6944)
  • Loading branch information
omeshp authored Apr 12, 2018
1 parent f380395 commit 5d5b463
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Tasks/DownloadBuildArtifacts/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ async function main(): Promise<void> {
}

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);
Expand Down
6 changes: 3 additions & 3 deletions Tasks/DownloadBuildArtifacts/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Tasks/DownloadBuildArtifacts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion Tasks/DownloadBuildArtifacts/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"version": {
"Major": 0,
"Minor": 133,
"Patch": 1
"Patch": 2
},
"groups": [
{
Expand Down
2 changes: 1 addition & 1 deletion Tasks/DownloadBuildArtifacts/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"version": {
"Major": 0,
"Minor": 133,
"Patch": 1
"Patch": 2
},
"groups": [
{
Expand Down

0 comments on commit 5d5b463

Please sign in to comment.