Skip to content

Commit

Permalink
fix: ignore case in arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
hfrances committed Jul 23, 2023
1 parent fbcbc9f commit 553adbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SequentialScript/Instructions/InstructionParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ private static InstructionCommand CreateCommand(System.Text.RegularExpressions.M
Line = index + 1,
BlockName = blockName,
ActionName = arguments[""].Trim(),
Arguments = arguments.Where(x => !string.IsNullOrEmpty(x.Key)).ToDictionary(x => x.Key, x => x.Value),
Arguments = arguments.Where(x => !string.IsNullOrEmpty(x.Key)).ToDictionary(x => x.Key, x => x.Value, StringComparer.OrdinalIgnoreCase),
Ignore = arguments.ContainsKey("NoCheck"),
IsValid = isValid
};
Expand Down

0 comments on commit 553adbb

Please sign in to comment.