microsoft / azure-artifacts-migration

Migration scripts to help move your packages to Azure Artifacts from other package repositories.
MIT License
13 stars 18 forks source link

SourcePassword in Move-MyGetNuGetPackages is not correctly mapped to sourceCredential (v1.0.1) #10

Open lachlann562 opened 3 years ago

lachlann562 commented 3 years ago

The sourceCredential object in Move-MyGetNuGetPackages is not correctly initialized because the ArgumentList passes the wrong variable to the pscredential.

It should be $SourcePassword, however it is $secureSourcePassword which does not exist resulting in a "cannot be null" error message.

lachlann562 commented 3 years ago

a pull request was already created to fix this issue: https://github.com/microsoft/azure-artifacts-migration/pull/5#pullrequestreview-619683745