Skip to content

Commit

Permalink
Remove unused params
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault committed May 31, 2022
1 parent 89179fa commit bb114d3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
8 changes: 0 additions & 8 deletions modules/cli/src/main/scala/scala/cli/commands/Run.scala
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ object Run extends ScalaCommand[RunOptions] {
allowTerminate: Boolean
): Either[BuildException, (Process, CompletableFuture[_])] = either {
val process = value(maybeRunOnce(
inputs.workspace,
inputs.projectName,
build,
programArgs,
logger,
Expand Down Expand Up @@ -165,8 +163,6 @@ object Run extends ScalaCommand[RunOptions] {
}

private def maybeRunOnce(
root: os.Path,
projectName: String,
build: Build.Successful,
args: Seq[String],
logger: Logger,
Expand All @@ -189,8 +185,6 @@ object Run extends ScalaCommand[RunOptions] {
if (jvmRunner) (Constants.runnerMainClass, mainClass +: verbosity +: args)
else (mainClass, args)
val res = runOnce(
root,
projectName,
build,
finalMainClass,
finalArgs,
Expand All @@ -201,8 +195,6 @@ object Run extends ScalaCommand[RunOptions] {
}

private def runOnce(
root: os.Path,
projectName: String,
build: Build.Successful,
mainClass: String,
args: Seq[String],
Expand Down
4 changes: 0 additions & 4 deletions modules/cli/src/main/scala/scala/cli/commands/Test.scala
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ object Test extends ScalaCommand[TestOptions] {
System.err.println()
}
val retCodeOrError = testOnce(
inputs.workspace,
inputs.projectName,
s,
options.requireTests,
args.unparsed,
Expand Down Expand Up @@ -152,8 +150,6 @@ object Test extends ScalaCommand[TestOptions] {
}

private def testOnce(
root: os.Path,
projectName: String,
build: Build.Successful,
requireTests: Boolean,
args: Seq[String],
Expand Down

0 comments on commit bb114d3

Please sign in to comment.