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 PublicAPI enablement checks #6291

Merged
merged 3 commits into from
Nov 29, 2022
Merged

Conversation

333fred
Copy link
Member

@333fred 333fred commented Nov 29, 2022

The current logic was broken for projects that only have public or only have internal APIs. I refactored the registration logic to run completely separately for both public and internal to fix this.

The current logic was broken for projects that only have public or only have internal APIs. I refactored the registration logic to run completely separately for both public and internal to fix this.
@333fred 333fred requested a review from a team as a code owner November 29, 2022 18:12
@333fred
Copy link
Member Author

333fred commented Nov 29, 2022

Recommended review with whitespace off.

Copy link
Member

@jcouv jcouv left a comment

Choose a reason for hiding this comment

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

Done with review pass (iteration 2)

@jcouv jcouv self-assigned this Nov 29, 2022
@codecov
Copy link

codecov bot commented Nov 29, 2022

Codecov Report

Merging #6291 (37b5291) into main (9b58ec3) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6291   +/-   ##
=======================================
  Coverage   96.06%   96.06%           
=======================================
  Files        1364     1364           
  Lines      313717   313730   +13     
  Branches    10125    10125           
=======================================
+ Hits       301357   301374   +17     
- Misses       9939     9940    +1     
+ Partials     2421     2416    -5     

@333fred
Copy link
Member Author

333fred commented Nov 29, 2022

@jcouv please take another look.

Copy link
Member

@jcouv jcouv left a comment

Choose a reason for hiding this comment

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

LGTM Thanks (iteration 3)

@333fred 333fred merged commit 8c76e4d into dotnet:main Nov 29, 2022
@333fred 333fred deleted the fix-api-analyzer branch November 29, 2022 21:13
@github-actions github-actions bot added this to the vNext milestone Nov 29, 2022
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.

2 participants