Skip to content

Commit

Permalink
Allow empty entries when splitting individual mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
benvillalobos committed Jul 28, 2021
1 parent d011e32 commit f483ff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tasks/GetCompatiblePlatform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public override bool Execute()

foreach (string s in stringTable.Trim().Split(MSBuildConstants.SemicolonChar, StringSplitOptions.RemoveEmptyEntries))
{
string[] keyVal = s.Trim().Split(MSBuildConstants.EqualsChar, StringSplitOptions.RemoveEmptyEntries);
string[] keyVal = s.Trim().Split(MSBuildConstants.EqualsChar);

// Invalid table, don't use it.
if (keyVal.Length <= 1 || keyVal.Length > 2)
Expand Down

0 comments on commit f483ff0

Please sign in to comment.