Skip to content

Commit

Permalink
Fix DotNet not being able to install custom versions
Browse files Browse the repository at this point in the history
  • Loading branch information
marticliment committed Jan 18, 2025
1 parent 4e46c45 commit fb78b3f
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,14 @@ protected override IEnumerable<string> _getOperationParameters(
});
}

if (operation is OperationType.Install)
{
if (options.Version != "")
{
parameters.AddRange(["--version", options.Version]);
}
}

return parameters;
}

Expand Down

0 comments on commit fb78b3f

Please sign in to comment.