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

ensure a non-existant dotnet always returns something actionable #1101

Merged
merged 2 commits into from
Feb 25, 2021

Conversation

brettfo
Copy link
Member

@brettfo brettfo commented Feb 25, 2021

While testing something else I discovered that if dotnet.exe is completely missing from the machine, then our up-to-date check never returns and we'll spin forever. The fix was to also listen to the spawned process's 'error' event. I also moved the function to a common location so I could add a test.

@runfoapp runfoapp bot mentioned this pull request Feb 25, 2021
Co-authored-by: Jon Sequeira <jonsequeira@gmail.com>
@brettfo brettfo merged commit 859960f into dotnet:main Feb 25, 2021
@brettfo brettfo deleted the no-dotnet branch February 25, 2021 17:41
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.

3 participants