Fix unused file removal
This commit is contained in:
@@ -161,7 +161,7 @@ final class TagOverviewGenerator {
|
||||
return imageSet
|
||||
}
|
||||
|
||||
content += RelatedPageLink(
|
||||
content += RelatedPageLink(
|
||||
title: tag.title,
|
||||
description: description,
|
||||
url: tag.url,
|
||||
|
||||
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user