Skip to content

Commit

Permalink
ProjectGroup.parentGroup is final
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Janusz committed Mar 18, 2023
1 parent 0f36e49 commit 8b4de32
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ abstract class ProjectGroup(
protected def rootProjectId: String = parent.fold(groupName)(p => s"${p.rootProjectId}-$groupName")
protected def subProjectId(name: String): String = s"$rootProjectId-$name"

def parentGroup: Option[ProjectGroup] = parent.toOption
final def parentGroup: Option[ProjectGroup] = parent.toOption

def baseDir: File = parent.fold(file("."))(p => p.baseDir / groupName)

Expand Down

0 comments on commit 8b4de32

Please sign in to comment.