Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/main' into list-exa…
Browse files Browse the repository at this point in the history
…mples
  • Loading branch information
pawelsadlo committed Sep 27, 2024
2 parents 5badd4c + 0e50ff7 commit 505c588
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scalalib/src/mill/scalalib/CoursierModule.scala
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ trait CoursierModule extends mill.Module {
* The repositories used to resolved dependencies with [[resolveDeps()]].
*/
def repositoriesTask: Task[Seq[Repository]] = Task.Anon {
import scala.concurrent.ExecutionContext.Implicits.global
val resolve = Resolve()
val repos = Await.result(
Resolve().finalRepositories.future(),
resolve.finalRepositories.future()(resolve.cache.ec),
Duration.Inf
)
repos
Expand Down

0 comments on commit 505c588

Please sign in to comment.