mirror of
https://github.com/sbt/sbt.git
synced 2026-09-05 01:03:36 +02:00
remove duplication in conflict warning message
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user