Skip to content

Commit

Permalink
fixed run for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
nulls committed Oct 27, 2023
1 parent 82b54af commit d854c29
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class DiktatSaveSmokeTest : DiktatSmokeTestBase() {

return when {
System.getProperty("os.name").isWindows() -> arrayOf(savePath, *saveArgs)
else -> arrayOf("sh", "-c", "chmod 777 $savePath ; ./$savePath ${saveArgs.joinToString(" ")}")
else -> arrayOf("sh", "-c", "chmod 777 $savePath ; $savePath ${saveArgs.joinToString(" ")}")
}.let { args ->
ProcessBuilder(*args)
}
Expand Down

0 comments on commit d854c29

Please sign in to comment.