Skip to content

Commit

Permalink
Fix file name
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Feb 7, 2025
1 parent 3ea5d95 commit e7d2552
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ protected Map<String, String> invoke(Path cwd, Path userHome, Collection<String>
Parser parser = createParser();
try (Invoker invoker = createInvoker()) {
for (String goal : goals) {
Path logFile = cwd.resolve(goal + "-build.log").toAbsolutePath();
Path logFile =
cwd.resolve(goal.replace(':', '-') + "-build.log").toAbsolutePath();
List<String> mvnArgs = new ArrayList<>(args);
mvnArgs.addAll(List.of("-l", logFile.toString(), goal));
int exitCode = invoker.invoke(
Expand Down

0 comments on commit e7d2552

Please sign in to comment.