From f23381603a52c57212959f52dc46431eeb74b620 Mon Sep 17 00:00:00 2001 From: mcallisto Date: Mon, 11 Jun 2018 01:42:59 +0200 Subject: Correct Unmanaged Jars snippet (#371) The Unmanaged Jars snippet currently shown is not working, updated with correct solution as per closed issue #361. --- docs/pages/2 - Configuring Mill.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/pages/2 - Configuring Mill.md') diff --git a/docs/pages/2 - Configuring Mill.md b/docs/pages/2 - Configuring Mill.md index 60016cbf..6f7b29c7 100644 --- a/docs/pages/2 - Configuring Mill.md +++ b/docs/pages/2 - Configuring Mill.md @@ -448,7 +448,7 @@ object foo extends ScalaModule { def scalaVersion = "2.12.4" def unmanagedClasspath = T { if (!ammonite.ops.exists(millSourcePath / "lib")) Agg() - else Agg.from(ammonite.ops.ls(millSourcePath / "lib")) + else Agg.from(ammonite.ops.ls(millSourcePath / "lib").map(PathRef(_))) } } ``` -- cgit v1.2.3