Skip to content

Commit

Permalink
Merge branch 'scalacenter:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
kannupriyakalra authored May 27, 2024
2 parents 4fc67e0 + 338253e commit e4ef0ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ final case class ProjectHeader(
def getDefaultArtifact(language: Option[Language], platform: Option[Platform]): Artifact = {
val artifacts = latestArtifacts
.filter(artifact => language.forall(_ == artifact.language) && platform.forall(_ == artifact.platform))
val stableArtifacts = latestArtifacts.filter(_.version.isStable)
val stableArtifacts = artifacts.filter(_.version.isStable)

def byName(artifacts: Seq[Artifact]): Option[Artifact] =
defaultArtifactName.toSeq
Expand Down

0 comments on commit e4ef0ff

Please sign in to comment.