Skip to content

Commit

Permalink
Relativize paths for display purposes
Browse files Browse the repository at this point in the history
(cherry picked from commit 4ce263b9fe94f235199356de6c70c45b8efe6f7a)
  • Loading branch information
Robin Brügger authored and fluxroot committed Dec 10, 2024
1 parent e3efa53 commit 181a82a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/ch/ergon/todochecker/TodoScanner.kt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ internal class TodoScanner internal constructor(
Collectors.groupingBy(
{ (key) -> key },
Collectors.mapping(
{ (_, value) -> value },
{ (_, path) -> directory.relativize(path) },
Collectors.toSet(),
),
),
Expand Down

0 comments on commit 181a82a

Please # to comment.