Skip to content

Commit

Permalink
Ignore case when finding application argument (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xced authored Jan 31, 2024
1 parent 5e344e8 commit d55cbbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tmds.ExecFunction/ExecFunction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ private static string GetApplicationArgument(string[] arguments, string name)
{
for (int i = 0; i < arguments.Length - 1; i++)
{
if (arguments[i] == name)
if (string.Equals(arguments[i], name, StringComparison.OrdinalIgnoreCase))
{
return arguments[i + 1];
}
Expand Down

0 comments on commit d55cbbd

Please sign in to comment.