Skip to content

Commit 182dd77

Browse files
am11michaelgsharp
authored andcommitted
Trim instructionset name in helper (dotnet#101794)
1 parent 6759560 commit 182dd77

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)