Skip to content

Commit

Permalink
Fix code for Windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
big-andy-coates committed Nov 22, 2023
1 parent 4150bea commit 0f073b5
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,11 @@ static Optional<String> codeCoverageCmdLineArg(
found.map(
arg ->
arg.replaceAll(
"([:=])build" + Pattern.quote(File.separator),
"$1" + dir.toAbsolutePath() + File.separator)))
"([:=])build"
+ Pattern.quote(File.separator),
"$1"
+ dir.toAbsolutePath()
+ File.separator)))
.orElse(found);
}
}

0 comments on commit 0f073b5

Please sign in to comment.