Skip to content

Commit

Permalink
fix: Tests working on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
matrei committed Nov 11, 2024
1 parent 0b75637 commit 093b84c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class CommandSpec extends Specification {
Process executeGradleCommand(String command) {
StringBuilder gradleCommand = new StringBuilder()
if (spock.util.environment.OperatingSystem.current.isWindows()) {
gradleCommand.append("gradlew.bat")
gradleCommand.append("cmd /c gradlew.bat")
} else {
gradleCommand.append("./gradlew")
}
Expand Down

0 comments on commit 093b84c

Please sign in to comment.