Skip to content

Conversation

@lachlan-trmb
Copy link

I identified that in the scenario described in the bug (reloading a project that is inside a solution folder) the file extension can be null leading to an exception when we call extension.EndsWith hence adding the null check on extension. Note: in all cases where GetLanguageFromExtension gets called the caller is handling a null result - this should mean that we don't end up making a bigger issue elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant