mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
Refactor.
This commit is contained in:
parent
eaf0b96d6c
commit
bfbe4b35a9
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ class BuildFileCompiler @Inject constructor(@Assisted("buildFiles") val buildFil
|
|||
buildScriptJarFile.parentFile.let { dir ->
|
||||
if (! VersionFile.isSameVersionFile(dir)) {
|
||||
kobaltLog(1, "Detected new installation, wiping $dir")
|
||||
dir.listFiles().map { it.delete() }
|
||||
dir.listFiles().map(File::delete)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue