File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed
modules/cli/src/main/scala/scala/cli/commands Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,6 @@ object Run extends ScalaCommand[RunOptions] {
66
66
allowTerminate : Boolean
67
67
): Either [BuildException , (Process , CompletableFuture [_])] = either {
68
68
val process = value(maybeRunOnce(
69
- inputs.workspace,
70
- inputs.projectName,
71
69
build,
72
70
programArgs,
73
71
logger,
@@ -165,8 +163,6 @@ object Run extends ScalaCommand[RunOptions] {
165
163
}
166
164
167
165
private def maybeRunOnce (
168
- root : os.Path ,
169
- projectName : String ,
170
166
build : Build .Successful ,
171
167
args : Seq [String ],
172
168
logger : Logger ,
@@ -189,8 +185,6 @@ object Run extends ScalaCommand[RunOptions] {
189
185
if (jvmRunner) (Constants .runnerMainClass, mainClass +: verbosity +: args)
190
186
else (mainClass, args)
191
187
val res = runOnce(
192
- root,
193
- projectName,
194
188
build,
195
189
finalMainClass,
196
190
finalArgs,
@@ -201,8 +195,6 @@ object Run extends ScalaCommand[RunOptions] {
201
195
}
202
196
203
197
private def runOnce (
204
- root : os.Path ,
205
- projectName : String ,
206
198
build : Build .Successful ,
207
199
mainClass : String ,
208
200
args : Seq [String ],
Original file line number Diff line number Diff line change @@ -81,8 +81,6 @@ object Test extends ScalaCommand[TestOptions] {
81
81
System .err.println()
82
82
}
83
83
val retCodeOrError = testOnce(
84
- inputs.workspace,
85
- inputs.projectName,
86
84
s,
87
85
options.requireTests,
88
86
args.unparsed,
@@ -152,8 +150,6 @@ object Test extends ScalaCommand[TestOptions] {
152
150
}
153
151
154
152
private def testOnce (
155
- root : os.Path ,
156
- projectName : String ,
157
153
build : Build .Successful ,
158
154
requireTests : Boolean ,
159
155
args : Seq [String ],
You can’t perform that action at this time.
0 commit comments