Fix unused file removal

This commit is contained in:
Christoph Hagen
2026-01-08 22:40:47 +01:00
parent 57fa5aa3dd
commit 544c31643f
3 changed files with 6 additions and 2 deletions

View File

@@ -298,6 +298,10 @@ final class GenerationResults: ObservableObject {
func requiredOutputFile(_ path: String) {
update { self.requiredOutputFiles.insert(path) }
}
func removeUnusedFile(_ unusedFile: String) {
update { self.unusedFilesInOutput.remove(unusedFile) }
}
}
private extension Dictionary where Value == Set<LocalizedItemId> {