mirror of
https://github.com/ethauvin/rife2.git
synced 2025-05-01 19:08:12 -07:00
Fix to clean command
This commit is contained in:
parent
cece9a92ac
commit
3af5c27b13
1 changed files with 8 additions and 8 deletions
|
@ -195,8 +195,7 @@ public final class FileUtils {
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_list = source.list();
|
var file_list = source.list();
|
||||||
|
if (file_list != null) {
|
||||||
assert file_list != null;
|
|
||||||
for (var element : file_list) {
|
for (var element : file_list) {
|
||||||
var current_file = new File(source.getAbsolutePath() + File.separator + element);
|
var current_file = new File(source.getAbsolutePath() + File.separator + element);
|
||||||
|
|
||||||
|
@ -206,6 +205,7 @@ public final class FileUtils {
|
||||||
deleteFile(current_file);
|
deleteFile(current_file);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// If we get here it means we're finished with this directory ... delete it.
|
// If we get here it means we're finished with this directory ... delete it.
|
||||||
deleteFile(source);
|
deleteFile(source);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue