Skip to content

Commit a0218a0

Browse files
committed
fix: 替换文件重复触发移动
1 parent fc2b6a2 commit a0218a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/kotlin/io/github/shoaky/sourcedownloader/core/processor/SourceProcessor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ class SourceProcessor(
453453
val movableFiles = content.movableFiles()
454454
if (movableFiles.isEmpty()) {
455455
log.debug("Processor:'{}' no available files to rename, item:'{}'", name, content.sourceItem)
456-
return false
456+
return true
457457
}
458458
movableFiles.map { it.saveDirectoryPath() }
459459
.distinct()

0 commit comments

Comments
 (0)