Skip to content

Commit

Permalink
bugfix: Use default bloop properties if provided empty array
Browse files Browse the repository at this point in the history
Empty array is a default value, so this would start Bloop with no options as default.
  • Loading branch information
tgodzik committed Aug 16, 2024
1 parent 1b1943e commit 329b517
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ final class BloopServers(
)

userConfig.flatMap(_.bloopJvmProperties) match {
case None => config
case Some(opts) => config.copy(javaOpts = opts)
case Some(opts) if opts.nonEmpty => config.copy(javaOpts = opts)
case _ => config
}
}

Expand Down

0 comments on commit 329b517

Please sign in to comment.