Skip to content

Commit

Permalink
Update ScalaModule.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi authored May 18, 2018
1 parent 2c1a4fc commit 14d002e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scalalib/src/mill/scalalib/ScalaModule.scala
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ trait ScalaModule extends JavaModule { outer =>
val files = for{
ref <- allSources()
if exists(ref.path)
p <- ls.rec(ref.path)
p <- (if (ref.path.isDir) ls.rec(ref.path) else Seq(ref.path))
if (p.isFile && ((p.ext == "scala") || (p.ext == "java")))
} yield p.toNIO.toString

Expand Down

0 comments on commit 14d002e

Please sign in to comment.