File tree 1 file changed +13
-9
lines changed
1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -71,11 +71,13 @@ object Jvm extends CoursierSupport {
71
71
}
72
72
73
73
val commandArgs = (Vector (javaExe(javaHome)) ++
74
- jvmArgs ++
75
- Option .when(cp.nonEmpty)(Vector (" -cp" , cp.mkString(java.io.File .pathSeparator))).getOrElse(Vector .empty) ++
76
- Vector (mainClass) ++
77
- mainArgs
78
- ).filterNot(_.isBlank)
74
+ jvmArgs ++
75
+ Option .when(cp.nonEmpty)(Vector (
76
+ " -cp" ,
77
+ cp.mkString(java.io.File .pathSeparator)
78
+ )).getOrElse(Vector .empty) ++
79
+ Vector (mainClass) ++
80
+ mainArgs).filterNot(_.isBlank)
79
81
80
82
if (cwd != null ) os.makeDir.all(cwd)
81
83
@@ -148,12 +150,14 @@ object Jvm extends CoursierSupport {
148
150
classPath
149
151
}
150
152
151
- val commandArgs = (Vector (javaExe(javaHome)) ++
153
+ val commandArgs = (Vector (javaExe(javaHome)) ++
152
154
jvmArgs ++
153
- Option .when(cp.nonEmpty)(Vector (" -cp" , cp.mkString(java.io.File .pathSeparator))).getOrElse(Vector .empty) ++
155
+ Option .when(cp.nonEmpty)(Vector (
156
+ " -cp" ,
157
+ cp.mkString(java.io.File .pathSeparator)
158
+ )).getOrElse(Vector .empty) ++
154
159
Vector (mainClass) ++
155
- mainArgs
156
- ).filterNot(_.isBlank)
160
+ mainArgs).filterNot(_.isBlank)
157
161
158
162
if (cwd != null ) os.makeDir.all(cwd)
159
163
You can’t perform that action at this time.
0 commit comments