Skip to content

Commit de33bb5

Browse files
committed
refactor: use dots
1 parent ff0d1fd commit de33bb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/io/Directory.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,5 @@ class Directory(jpath: JPath) extends Path(jpath) {
6969
def deepList(depth: Int = -1): Iterator[Path] =
7070
if (depth < 0) list ++ dirs.flatMap(_.deepList(depth))
7171
else if (depth == 0) Iterator.empty
72-
else list ++ (dirs flatMap (_ deepList (depth - 1)))
72+
else list ++ dirs.flatMap(_.deepList(depth - 1))
7373
}

0 commit comments

Comments
 (0)