Bugfix
This commit is contained in:
parent
6f15561806
commit
38462ba2d5
@ -2384,8 +2384,10 @@ public class SourcesGenerator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (Path pathToDelete : generatedFilesToDelete) {
|
for (Path pathToDelete : generatedFilesToDelete) {
|
||||||
Files.delete(outPath.resolve(pathToDelete));
|
if (Files.exists(pathToDelete)) {
|
||||||
logger.info("Deleting unused file: {}", pathToDelete);
|
Files.delete(outPath.resolve(pathToDelete));
|
||||||
|
logger.info("Deleting unused file: {}", pathToDelete);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user