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

Remove FilePath #7235

Merged
merged 3 commits into from May 5, 2024
Merged

Remove FilePath #7235

merged 3 commits into from May 5, 2024

Conversation

3flex
Copy link
Member

@3flex 3flex commented Apr 27, 2024

No description provided.

@3flex 3flex added the breaking change Marker for breaking changes which should be highlighted in the changelog label Apr 27, 2024
Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

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

detekt found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

Copy link

codecov bot commented Apr 27, 2024

Codecov Report

Attention: Patch coverage is 88.00000% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 84.77%. Comparing base (6c1de58) to head (ea7cc78).

Files Patch % Lines
...n/io/github/detekt/report/html/HtmlOutputReport.kt 50.00% 0 Missing and 1 partial ⚠️
...otlin/io/github/detekt/report/md/MdOutputReport.kt 50.00% 0 Missing and 1 partial ⚠️
...lin/io/github/detekt/report/xml/XmlOutputReport.kt 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #7235      +/-   ##
============================================
+ Coverage     84.71%   84.77%   +0.05%     
  Complexity     3993     3993              
============================================
  Files           578      578              
  Lines         12163    12138      -25     
  Branches       2494     2484      -10     
============================================
- Hits          10304    10290      -14     
+ Misses          626      624       -2     
+ Partials       1233     1224       -9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -52,7 +52,7 @@ class SarifOutputReportSpec {
.render(result)

val expectedReport = readResourceContent("vanilla.sarif.json")
.replace("<PREFIX>", Path("/").absolute().toUri().toString())
.replace("<PREFIX>", Path(System.getProperty("user.dir")).toUri().toString())
Copy link
Member

Choose a reason for hiding this comment

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

Probably this change is needed for the issue that I was talking before.

@3flex 3flex marked this pull request as draft April 30, 2024 03:23
@detekt-ci detekt-ci added the build label May 1, 2024
@3flex 3flex marked this pull request as ready for review May 1, 2024 03:00
@BraisGabin
Copy link
Member

LGTM. It's strange the usages of user.dir on tests but that's clearly not important and you have a lot of PRs waiting for this.

@3flex
Copy link
Member Author

3flex commented May 5, 2024

It's strange the usages of user.dir on tests

They weren't really needed, I've stripped them out. Thanks for your time on this!

@3flex 3flex enabled auto-merge (squash) May 5, 2024 00:48
@3flex 3flex merged commit 65f3164 into detekt:main May 5, 2024
21 checks passed
@3flex 3flex deleted the location-2 branch May 5, 2024 01:05
@3flex 3flex added psi-utils and removed build labels May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api breaking change Marker for breaking changes which should be highlighted in the changelog core formatting psi-utils reports rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants