remove superfluous indent
This commit is contained in:
parent
3322fa656b
commit
fec6ad311f
|
@ -15,8 +15,7 @@ def cd(cwd: String, to: String): String = to match
|
||||||
var cwd = "" // We append the / at time of use
|
var cwd = "" // We append the / at time of use
|
||||||
val folders = scala.collection.mutable.HashSet[String](cwd)
|
val folders = scala.collection.mutable.HashSet[String](cwd)
|
||||||
val fileSizes = scala.collection.mutable.HashMap[String, Int]()
|
val fileSizes = scala.collection.mutable.HashMap[String, Int]()
|
||||||
for line <- inputLines do
|
for line <- inputLines do line match
|
||||||
line match
|
|
||||||
case cdPattern(dir) =>
|
case cdPattern(dir) =>
|
||||||
cwd = cd(cwd, dir)
|
cwd = cd(cwd, dir)
|
||||||
folders += cwd
|
folders += cwd
|
||||||
|
|
Loading…
Reference in New Issue