mirror of https://github.com/sbt/sbt.git
remove duplication in conflict warning message
This commit is contained in:
parent
c121c1745a
commit
ba33a73271
|
|
@ -16,7 +16,7 @@ object ConflictWarning
|
||||||
val conflictMsgs =
|
val conflictMsgs =
|
||||||
for( (label, versions) <- conflicts ) yield
|
for( (label, versions) <- conflicts ) yield
|
||||||
label + ": " + versions.mkString(", ")
|
label + ": " + versions.mkString(", ")
|
||||||
log.log(config.level, msg + conflictMsgs.mkString(msg, "\n ", ""))
|
log.log(config.level, conflictMsgs.mkString(msg, "\n ", ""))
|
||||||
}
|
}
|
||||||
if(config.failOnConflict && !conflicts.isEmpty)
|
if(config.failOnConflict && !conflicts.isEmpty)
|
||||||
error("Conflicts in " + conflicts.map(_._1).mkString )
|
error("Conflicts in " + conflicts.map(_._1).mkString )
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue