From 315a4bb4c0a8c33f3df96b27f7fceba1939e30df Mon Sep 17 00:00:00 2001 From: Alexandre Archambault Date: Fri, 26 Jun 2020 13:16:28 +0200 Subject: [PATCH] Fix Trapped errors? --- .../src/main/scala/lmcoursier/internal/ResolutionRun.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lm-coursier/src/main/scala/lmcoursier/internal/ResolutionRun.scala b/modules/lm-coursier/src/main/scala/lmcoursier/internal/ResolutionRun.scala index 0f9c6d8ea..9321cee43 100644 --- a/modules/lm-coursier/src/main/scala/lmcoursier/internal/ResolutionRun.scala +++ b/modules/lm-coursier/src/main/scala/lmcoursier/internal/ResolutionRun.scala @@ -183,7 +183,7 @@ object ResolutionRun { () } } - either.map(_ => map.toMap) + withSubResolutions.map(_ => map.toMap) } for (res <- resOrError) SbtCoursierCache.default.putResolution(params.resolutionKey, res)