mirror of
https://github.com/sbt/sbt.git
synced 2026-09-05 09:15:06 +02:00
Merge pull request #1313 from 2m/inspect-sort-keys
Sort setting key names in the inspect tree view
This commit is contained in:
@@ -45,7 +45,7 @@ case class SettingGraph(name: String,
|
||||
} getOrElse { "" }
|
||||
|
||||
def dependsAscii: String = Graph.toAscii(this,
|
||||
(x: SettingGraph) => x.depends.toSeq,
|
||||
(x: SettingGraph) => x.depends.toSeq.sortBy(_.name),
|
||||
(x: SettingGraph) => "%s = %s" format (x.definedIn getOrElse { "" }, x.dataString))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user