mirror of https://github.com/sbt/sbt.git
remove duplication in conflict warning message
This commit is contained in:
parent
de91865fae
commit
e73e0938eb
|
|
@ -16,7 +16,7 @@ object ConflictWarning
|
|||
val conflictMsgs =
|
||||
for( (label, versions) <- conflicts ) yield
|
||||
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)
|
||||
error("Conflicts in " + conflicts.map(_._1).mkString )
|
||||
|
|
|
|||
Loading…
Reference in New Issue