Bugfix
This commit is contained in:
parent
6f15561806
commit
38462ba2d5
@ -2384,11 +2384,13 @@ public class SourcesGenerator {
|
||||
}
|
||||
|
||||
for (Path pathToDelete : generatedFilesToDelete) {
|
||||
if (Files.exists(pathToDelete)) {
|
||||
Files.delete(outPath.resolve(pathToDelete));
|
||||
logger.info("Deleting unused file: {}", pathToDelete);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void markFileAsCreated(Set<Path> generatedFilesToDelete, Path basePath, Path filePath) {
|
||||
generatedFilesToDelete.remove(basePath.relativize(filePath));
|
||||
|
Loading…
x
Reference in New Issue
Block a user