Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix MNTR crashing because it is using PolyFill extension method #6768

Merged
merged 3 commits into from May 18, 2023

Conversation

Arkatufus
Copy link
Contributor

No description provided.

@@ -42,7 +42,7 @@ public static void Initialize(string[] args)
var fixedArgs = new List<string>();
for (var i = 1; i < args.Length - 1; ++i)
{
if (args[i].Equals("-Dmultinode") && args[i + 1].StartsWith('.'))
if (args[i].Equals("-Dmultinode") && args[i + 1].StartsWith("."))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing from a char to a string does the trick here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the char variant is a polyfill extension method, the string variant is the String class pure method

@Aaronontheweb Aaronontheweb merged commit 1145bc0 into akkadotnet:dev May 18, 2023
10 of 12 checks passed
@Aaronontheweb Aaronontheweb added this to the 1.5.8 milestone May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants