mirror of https://github.com/sbt/sbt.git
actually throw the exception when name is not overridden instead of returning it as the name
This commit is contained in:
parent
87842346c6
commit
bedc288c91
|
|
@ -148,7 +148,7 @@ trait Project extends Tasked with HistoryEnabled with Member[Project] with Named
|
|||
val info: ProjectInfo
|
||||
|
||||
def settings: Settings = Settings.empty
|
||||
def name: String = info.name getOrElse "'name' not overridden"
|
||||
def name: String = info.name getOrElse error("'name' not overridden")
|
||||
|
||||
def base = info.projectDirectory
|
||||
def outputRootPath = base / "target"
|
||||
|
|
|
|||
Loading…
Reference in New Issue