Skip to content

Commit

Permalink
(chocolateyGH-510) Fix for Choco new silentargs can't pass in args in…
Browse files Browse the repository at this point in the history
… the param=value format
  • Loading branch information
sahebjade committed Dec 22, 2015
1 parent 6f0b7be commit 5bd75c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public void handle_additional_argument_parsing(IList<string> unparsedArguments,

foreach (var unparsedArgument in unparsedArguments.or_empty_list_if_null())
{
var property = unparsedArgument.Split(new[] {'='}, StringSplitOptions.RemoveEmptyEntries);
var property = unparsedArgument.Split(new[] { '=' }, 2, StringSplitOptions.RemoveEmptyEntries);
if (property.Count() == 2)
{
var propName = property[0].trim_safe();
Expand Down

0 comments on commit 5bd75c9

Please sign in to comment.