1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 00:17:11 -07:00

Only return existing directories.

This commit is contained in:
Cedric Beust 2016-07-28 23:53:20 -08:00
parent e9faa5c01f
commit e513508807

View file

@ -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() }
}
}
}