Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit a64da01

Browse files
author
Peter Huene
committed
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.
1 parent f5fce41 commit a64da01

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/dotnet/commands/dotnet-install/dotnet-install-tool/InstallToolCommand.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ private static ToolConfigurationAndExecutableDirectory ObtainPackage(DirectoryPa
9494
packageId: _packageId,
9595
packageVersion: _packageVersion,
9696
nugetconfig: configFile,
97-
targetframework: _framework);
97+
targetframework: _framework,
98+
source: _source);
9899
}
99100
catch (PackageObtainException ex)
100101
{

0 commit comments

Comments
 (0)