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

Fail on no analyzers registered #202

Merged
merged 1 commit into from
Jan 30, 2024
Merged

Conversation

Smaug123
Copy link
Contributor

(I seem to be hitting every possible way to hold this tool wrongly!)

I think it's more useful to fail when there are no analyzers registered, than to return "OK, did nothing". I suspect it's going to be very unusual to intentionally register no analyzers.

Copy link
Contributor

@nojaf nojaf left a comment

Choose a reason for hiding this comment

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

Hmm, yes that makes sense.
Thanks for keeping up with us 😇

@nojaf
Copy link
Contributor

nojaf commented Jan 30, 2024

@dawedawe if you agree, can you approve and merge?

@dawedawe dawedawe merged commit 56dbd8a into ionide:main Jan 30, 2024
2 checks passed
@Smaug123 Smaug123 deleted the fail-on-no-analyzers branch January 30, 2024 09:32
@Smaug123
Copy link
Contributor Author

(No need to release this any time soon.)

@nojaf
Copy link
Contributor

nojaf commented Jan 30, 2024

Sweet 😌

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