Skip to content

Commit

Permalink
优化重命名后的移动操作
Browse files Browse the repository at this point in the history
  • Loading branch information
wushuo894 committed Nov 10, 2024
1 parent 0794a50 commit 2e06325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/ani/rss/action/AniAction.java
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ private void put() {
File[] files = ObjectUtil.defaultIfNull(file.listFiles(), new File[]{});
for (File oldFile : files) {
log.info("移动文件 {} ==> {}", oldFile, newDownloadPath);
FileUtil.move(file, newDownloadPath, false);
FileUtil.move(oldFile, newDownloadPath, false);
}
ClearCacheAction.clearParentFile(file);
}
Expand Down

0 comments on commit 2e06325

Please sign in to comment.