mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Updater: fixed the case when symbolic links are not deleted.
IDEA-170514 Codesign is broken after AppCode 2016.3.3 -> AppCode 2017.1 patch update
This commit is contained in:
@@ -73,7 +73,7 @@ public class Utils {
|
||||
|
||||
public static void delete(File file) throws IOException {
|
||||
Path start = file.toPath();
|
||||
if (Files.exists(start)) {
|
||||
if (Files.exists(start, LinkOption.NOFOLLOW_LINKS)) {
|
||||
Files.walkFileTree(start, new SimpleFileVisitor<Path>() {
|
||||
@Override
|
||||
public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException {
|
||||
|
||||
Reference in New Issue
Block a user