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 0018e55
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 @@ -132,7 +132,7 @@ public override bool Execute()

Dictionary<string, string> table = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);

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

Expand Down

0 comments on commit 0018e55

Please sign in to comment.