Skip to content

Commit 6c5c6f0

Browse files
committed
Fix --yes parsing issue
1 parent f0bd3f3 commit 6c5c6f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/dotnet-core-uninstall/Shared/Commands/UninstallCommandExec.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static void Execute(IBundleCollector bundleCollector)
3636

3737
var filtered = CommandBundleFilter.GetFilteredWithRequirementStrings(bundleCollector);
3838

39-
if (CommandLineConfigs.CommandLineParseResult.CommandResult.OptionResult(CommandLineConfigs.YesOption.Name) != null)
39+
if (CommandLineConfigs.CommandLineParseResult.FindResultFor(CommandLineConfigs.YesOption) != null)
4040
{
4141
if (!IsAdmin())
4242
{

0 commit comments

Comments
 (0)