Skip to content

Commit

Permalink
Merge pull request #380 from GridProtectionAlliance/FixVariableList
Browse files Browse the repository at this point in the history
Updated the VariableList expression to ignore empty values
  • Loading branch information
ritchiecarroll authored Feb 25, 2025
2 parents f0f7e1e + ebadd57 commit fb5a644
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ public string VariableList
return;

// Build the collection of variable names with the new value
foreach (string token in value.Split(';'))
foreach (string token in value.Split([';'], StringSplitOptions.RemoveEmptyEntries))
AddVariable(token);

// Perform alias replacement on tokens that were not explicitly aliased
Expand Down

0 comments on commit fb5a644

Please sign in to comment.