Skip to content

Commit

Permalink
fix: byMax on empty
Browse files Browse the repository at this point in the history
  • Loading branch information
kasiaMarek committed Jul 19, 2024
1 parent ab9fd79 commit 38160ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ final class BuildTargets private (
): Option[BuildTargetIdentifier] = {
val buildTargets = sourceBuildTargets(source)
val orSbtBuildTarget =
buildTargets.getOrElse(sbtBuildScalaTarget(source).toIterable)
buildTargets.getOrElse(sbtBuildScalaTarget(source).toIterable).toSeq
if (orSbtBuildTarget.isEmpty) {
tables
.flatMap(_.dependencySources.getBuildTarget(source))
Expand Down

0 comments on commit 38160ab

Please sign in to comment.