From 55a0e79239d39dba63b36fa7b30707d5aff6518c Mon Sep 17 00:00:00 2001 From: Alexandre Archambault Date: Thu, 14 May 2020 16:35:07 +0200 Subject: [PATCH] Remove some duplicate input prior to resolution --- modules/lm-coursier/src/main/scala/lmcoursier/FromSbt.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/lm-coursier/src/main/scala/lmcoursier/FromSbt.scala b/modules/lm-coursier/src/main/scala/lmcoursier/FromSbt.scala index 088666e65..2e3c7bbeb 100644 --- a/modules/lm-coursier/src/main/scala/lmcoursier/FromSbt.scala +++ b/modules/lm-coursier/src/main/scala/lmcoursier/FromSbt.scala @@ -102,8 +102,8 @@ object FromSbt { } for { - (from, to) <- allMappings - pub <- publications + (from, to) <- allMappings.distinct + pub <- publications.distinct } yield { val dep0 = dep .withConfiguration(to)