summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authormcallisto <mario.callisto@gmail.com>2018-06-11 01:42:59 +0200
committerLi Haoyi <haoyi.sg@gmail.com>2018-06-10 16:42:59 -0700
commitf23381603a52c57212959f52dc46431eeb74b620 (patch)
tree70da01c16e7829777101926648cb54a45682bcdc /docs
parent440700a836b460ffd9a75f4db27a1634e6371c83 (diff)
downloadmill-f23381603a52c57212959f52dc46431eeb74b620.tar.gz
mill-f23381603a52c57212959f52dc46431eeb74b620.tar.bz2
mill-f23381603a52c57212959f52dc46431eeb74b620.zip
Correct Unmanaged Jars snippet (#371)
The Unmanaged Jars snippet currently shown is not working, updated with correct solution as per closed issue #361.
Diffstat (limited to 'docs')
-rw-r--r--docs/pages/2 - Configuring Mill.md2
1 files changed, 1 insertions, 1 deletions
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(_)))
}
}
```