Skip to content

Commit ef8e672

Browse files
committed
Fix ProjectName with test scope
1 parent 2326b64 commit ef8e672

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/build/src/main/scala/scala/build/bsp/buildtargets/ProjectName.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ import scala.build.options.Scope
44

55
final case class ProjectName(name: String) {
66
def withScopeAppended(scope: Scope): ProjectName =
7-
if scope == Scope.Main then this else copy(name = s"name-${scope.name.toLowerCase}")
7+
if scope == Scope.Main then this else copy(name = s"$name-${scope.name.toLowerCase}")
88
}

0 commit comments

Comments
 (0)