diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2017-11-25 11:58:05 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2017-11-25 11:58:05 -0800 |
commit | e60bbce22af14088dabf0be5a8fa64c1cf9bdf82 (patch) | |
tree | 7c8a4becc57b8c77a786990adf32d0cbdc178488 /scalaplugin | |
parent | 15351c7239a835c28cff140bead740a0e408b285 (diff) | |
download | mill-e60bbce22af14088dabf0be5a8fa64c1cf9bdf82.tar.gz mill-e60bbce22af14088dabf0be5a8fa64c1cf9bdf82.tar.bz2 mill-e60bbce22af14088dabf0be5a8fa64c1cf9bdf82.zip |
Swap over to using `java.nio` APIs to make self-executable jars, instead of shelling out to `chmod`
Diffstat (limited to 'scalaplugin')
-rw-r--r-- | scalaplugin/src/main/scala/mill/scalaplugin/GenIdea.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scalaplugin/src/main/scala/mill/scalaplugin/GenIdea.scala b/scalaplugin/src/main/scala/mill/scalaplugin/GenIdea.scala index 7bfe14e1..fc4db19e 100644 --- a/scalaplugin/src/main/scala/mill/scalaplugin/GenIdea.scala +++ b/scalaplugin/src/main/scala/mill/scalaplugin/GenIdea.scala @@ -26,7 +26,7 @@ object GenIdea { val modules = Mirror .traverse(obj, discovered.mirror){ (h, p) => - h.node(obj, p.map{case Mirror.Segment.Cross(vs) => vs case _ => Nil}.toList) match { + h.node(obj, p.map{case Mirror.Segment.Cross(vs) => vs.toList case _ => Nil}.toList) match { case m: ScalaModule => Seq(p -> m) case _ => Nil } |