Skip to content

Commit

Permalink
updated file path conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
LeFrosch committed Dec 16, 2024
1 parent df943bd commit 4e22644
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private fun findTargets(context: ConfigurationContext): ListenableFuture<Collect

return SourceToTargetFinder.findTargetInfoFuture(
context.project,
File(virtualFile.path),
virtualFile.toNioPath().toFile(),
Optional.of(RuleType.TEST),
) ?: Futures.immediateFuture(emptyList())
}
Expand All @@ -81,7 +81,7 @@ private fun chooseTargetForFile(context: ConfigurationContext, targets: Collecti
return TestTargetHeuristic.chooseTestTargetForSourceFile(
context.project,
psiFile,
File(virtualFile.path),
virtualFile.toNioPath().toFile(),
ccTargets,
null,
)
Expand Down

0 comments on commit 4e22644

Please sign in to comment.