Skip to content

Commit

Permalink
#225: Return statement in backup() functions in case of symlinks (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvomiero authored Feb 26, 2024
1 parent fdf3447 commit 4e9d541
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ public void backup(Path fileOrFolder) {

if (Files.isSymbolicLink(fileOrFolder)) {
delete(fileOrFolder);
return;
}
Path backupPath = this.context.getIdeHome().resolve(IdeContext.FOLDER_UPDATES).resolve(IdeContext.FOLDER_BACKUPS);
LocalDateTime now = LocalDateTime.now();
Expand Down

0 comments on commit 4e9d541

Please sign in to comment.