Skip to content

Commit

Permalink
improvement: Don't allow empty sbtScript setting
Browse files Browse the repository at this point in the history
  • Loading branch information
tgodzik committed Aug 16, 2024
1 parent fcb65af commit f065bda
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ case class SbtBuildTool(
val sbtScript = userConfig().sbtScript.orElse(findSbtInPath())

sbtScript match {
case Some(script) =>
case Some(script) if script.nonEmpty =>
script :: sbtArgs
case None =>
case _ =>
val javaArgs = List[String](
JavaBinary(userConfig().javaHome),
"-Djline.terminal=jline.UnsupportedTerminal",
Expand Down

0 comments on commit f065bda

Please sign in to comment.