mirror of https://github.com/sbt/sbt.git
Cleanup some formatting/wrapping
This commit is contained in:
parent
a254341b6f
commit
6988b2289a
|
|
@ -210,9 +210,7 @@ object Act {
|
|||
| ((ZeroString ^^^ ParsedZero) <~ sep)
|
||||
| ((ZeroIdent ^^^ ParsedZero) <~ sep)
|
||||
| (value(examples(ID, confs, "configuration")) <~ oldSep)
|
||||
| (value(examples(CapitalizedID, idents, "configuration ident") map {
|
||||
fromIdent(_)
|
||||
}) <~ sep)
|
||||
| (value(examples(CapitalizedID, idents, "configuration ident") map fromIdent) <~ sep)
|
||||
) ?? Omitted
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -59,9 +59,7 @@ object KeyIndex {
|
|||
def configs(proj: Option[ResolvedReference]) = concat(_.configs(proj))
|
||||
private[sbt] def configIdents(proj: Option[ResolvedReference]) = concat(_.configIdents(proj))
|
||||
private[sbt] def fromConfigIdent(proj: Option[ResolvedReference])(configIdent: String): String =
|
||||
(indices find { idx =>
|
||||
idx.exists(proj)
|
||||
}) match {
|
||||
indices.find(idx => idx.exists(proj)) match {
|
||||
case Some(idx) => idx.fromConfigIdent(proj)(configIdent)
|
||||
case _ => Scope.unguessConfigIdent(configIdent)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue