remove superfluous indent

This commit is contained in:
Luke Hubmayer-Werner 2022-12-18 03:18:09 +10:30
parent 3322fa656b
commit fec6ad311f
1 changed files with 7 additions and 8 deletions

View File

@ -15,8 +15,7 @@ def cd(cwd: String, to: String): String = to match
var cwd = "" // We append the / at time of use
val folders = scala.collection.mutable.HashSet[String](cwd)
val fileSizes = scala.collection.mutable.HashMap[String, Int]()
for line <- inputLines do
line match
for line <- inputLines do line match
case cdPattern(dir) =>
cwd = cd(cwd, dir)
folders += cwd