Skip to content

Commit

Permalink
Disable ANSI colors in --version output
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Jun 10, 2024
1 parent 7eaa67a commit 7b71efd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ void printVersionViaJar() {
.setTool(new Java()) //
.setProject("standalone") //
.addArguments("-jar", MavenRepo.jar("junit-platform-console-standalone")) //
.addArguments("--version") //
.addArguments("--version", "--disable-ansi-colors") //
.build() //
.run();

Expand Down Expand Up @@ -122,7 +122,7 @@ void printVersionViaModule() {
.addArguments("--module-path", modulePath) //
.addArguments("--add-modules", "org.junit.platform.console") //
.addArguments("--module", "org.junit.platform.console") //
.addArguments("--version") //
.addArguments("--version", "--disable-ansi-colors") //
.build() //
.run();

Expand Down

0 comments on commit 7b71efd

Please sign in to comment.