Skip to content

Commit 4a95073

Browse files
authored
Trim instructionset name in helper (#101794)
1 parent 15e98e5 commit 4a95073

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/tools/Common/InstructionSetHelpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public static InstructionSetSupport ConfigureInstructionSetSupport(string instru
122122
string[] instructionSetParamsInput = instructionSet.Split(',');
123123
for (int i = 0; i < instructionSetParamsInput.Length; i++)
124124
{
125-
instructionSet = instructionSetParamsInput[i];
125+
instructionSet = instructionSetParamsInput[i].Trim();
126126

127127
if (string.IsNullOrEmpty(instructionSet))
128128
throw new CommandLineException(string.Format(mustNotBeMessage, ""));

0 commit comments

Comments
 (0)