Skip to content

Commit

Permalink
#139: fileaccess delete symlink fix (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
MattesMrzik authored Dec 11, 2023
1 parent 489c8d6 commit e86add0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,9 @@ public void delete(Path path) {
if (Files.isSymbolicLink(path)) {
Files.delete(path);
}
deleteRecursive(path);
else {
deleteRecursive(path);
}
} catch (IOException e) {
throw new IllegalStateException("Failed to delete " + path, e);
}
Expand Down

0 comments on commit e86add0

Please sign in to comment.