mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Only return existing directories.
This commit is contained in:
parent
e9faa5c01f
commit
e513508807
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ class KFiles {
|
|||
.absolutePath
|
||||
} + listOf(previousJar)
|
||||
debug("Couldn't find ${jarFile.absolutePath}, using\n " + result.joinToString(" "))
|
||||
return result
|
||||
return result.filter { File(it).exists() }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue