Skip to content

Commit

Permalink
Merge pull request #2819 from ckipp01/sourceroot
Browse files Browse the repository at this point in the history
Don't warn about sourceroot for Scala 3
  • Loading branch information
ckipp01 authored May 25, 2021
2 parents 195e881 + 76b8156 commit 7ef52f2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@ class ProblemResolver(
isUnsupportedBloopVersion()
)
)
case _ if !scalaTarget.isSourcerootDeclared =>
case _
if !scalaTarget.isSourcerootDeclared && !ScalaVersions
.isScala3Version(scalaTarget.scalaVersion) =>
Some(MissingSourceRoot(workspace.sourcerootOption))
case version
if ScalaVersions.isDeprecatedScalaVersion(
Expand Down

0 comments on commit 7ef52f2

Please sign in to comment.