actually throw the exception when name is not overridden instead of returning it as the name

This commit is contained in:
Mark Harrah 2010-09-21 22:34:07 -04:00
parent 87842346c6
commit bedc288c91
1 changed files with 1 additions and 1 deletions

View File

@ -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"