mirror of https://github.com/sbt/sbt.git
in cyclic error message, put each node string on different line
This commit is contained in:
parent
1578dcc46f
commit
b94c6e8949
|
|
@ -55,7 +55,9 @@ object Dag
|
|||
finished;
|
||||
}
|
||||
final class Cyclic(val value: Any, val all: List[Any], val complete: Boolean)
|
||||
extends Exception( "Cyclic reference involving " + (if(complete) all.mkString(", ") else value) )
|
||||
extends Exception( "Cyclic reference involving " +
|
||||
(if(complete) all.mkString("\n ", "\n ", "") else value)
|
||||
)
|
||||
{
|
||||
def this(value: Any) = this(value, value :: Nil, false)
|
||||
def ::(a: Any): Cyclic =
|
||||
|
|
|
|||
Loading…
Reference in New Issue