Fix source option for install command.
The original PR that implemented the source option was updated incorrectly during review and the source option was accidentally not passed into the package obtainer. This resulted in the source option not being respected from the install command. The tests passed because the only test coverage is at the package obtainer level; tests of the install command itself were waiting on additional changes to enable (still not yet merged). The fix is to properly pass the source option through when obtaining the package.
This commit is contained in:
parent
f5fce413e9
commit
a64da0129a
1 changed files with 2 additions and 1 deletions
|
@ -94,7 +94,8 @@ namespace Microsoft.DotNet.Tools.Install.Tool
|
|||
packageId: _packageId,
|
||||
packageVersion: _packageVersion,
|
||||
nugetconfig: configFile,
|
||||
targetframework: _framework);
|
||||
targetframework: _framework,
|
||||
source: _source);
|
||||
}
|
||||
catch (PackageObtainException ex)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue