mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
koltin beta 5093 compatibility — cleanup
This commit is contained in:
@@ -234,7 +234,7 @@ public fun Repository.deleteAllFiles(deletedSet: MutableSet<String>? = null, fro
|
||||
}
|
||||
|
||||
if (fromWorkingTree) {
|
||||
val files = workTree.listFiles { it.name != Constants.DOT_GIT }
|
||||
val files = workTree.listFiles { file -> file.name != Constants.DOT_GIT }
|
||||
if (files != null) {
|
||||
for (file in files) {
|
||||
FileUtil.delete(file)
|
||||
|
||||
Reference in New Issue
Block a user