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