fix: normalize file paths after extraction from analyzed folder #864
Conversation
Dart Code Metrics unused files report of dart_code_metrics. ✅Summary
|
Dart Code Metrics analyze report of dart_code_metrics. ✅Summary
|
@@ -23,5 +23,5 @@ Set<String> extractDartFilesFromFolders( | |||
relative(entity.path, from: rootFolder), | |||
globalExcludes, | |||
)) | |||
.map((entity) => entity.path)) | |||
.map((entity) => normalize(entity.path))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@incendial please cover by tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Codecov Report
@@ Coverage Diff @@
## master #864 +/- ##
=======================================
Coverage 87.28% 87.28%
=======================================
Files 280 280
Lines 5945 5945
=======================================
Hits 5189 5189
Misses 756 756
Continue to review full report at Codecov.
|
What is the purpose of this pull request? (put an "X" next to an item)
[ ] Documentation update
[X] Bug fix
[ ] New rule
[ ] Changes an existing rule
[ ] Add autofixing to a rule
[ ] Add a CLI option
[ ] Add something to the core
[ ] Other, please explain:
#799