Skip to content

Conversation

bjornhellander
Copy link
Contributor

@bjornhellander bjornhellander commented Jul 20, 2025

Fixes #3902

I don't see a way to write unit tests for this, but I have used the generated nuget and verified that AD0001 is no longer triggered, and that SA0002 is triggered instead.

CS2001 is also triggered, so maybe the SA0002 was unnecessary. It would have been easy to instead treat it as if no settings file was found.

@bjornhellander bjornhellander force-pushed the feature/incorrect-settings-path branch from 2087dd0 to 51ae969 Compare July 20, 2025 09:57
Copy link

codecov bot commented Jul 20, 2025

Codecov Report

Attention: Patch coverage is 37.50000% with 5 lines in your changes missing coverage. Please review.

Project coverage is 97.44%. Comparing base (f5843ae) to head (4c7a065).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3935      +/-   ##
==========================================
- Coverage   97.44%   97.44%   -0.01%     
==========================================
  Files         926      931       +5     
  Lines      110283   110329      +46     
  Branches     3319     3320       +1     
==========================================
+ Hits       107467   107508      +41     
- Misses       1847     1851       +4     
- Partials      969      970       +1     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bjornhellander bjornhellander force-pushed the feature/incorrect-settings-path branch from 51ae969 to c4d2fe4 Compare July 20, 2025 10:31
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.

AD0001 in many analyzers when stylecop.json link is broken
1 participant