Skip to content

Commit

Permalink
Update JavaModule.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi authored May 18, 2018
1 parent 6998027 commit 2c1a4fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scalalib/src/mill/scalalib/JavaModule.scala
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ trait JavaModule extends mill.Module with TaskModule { 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 == "java")
} yield p.toNIO.toString

Expand Down

0 comments on commit 2c1a4fc

Please sign in to comment.