admin/sync: Keep Exceptions from multiple files
This commit is contained in:
parent
ac25202024
commit
23ac512ce6
4 changed files with 16 additions and 13 deletions
|
@ -144,7 +144,7 @@ func BuildTheme(i Importer, tdir string) (th *fic.Theme, exceptions *CheckExcept
|
|||
} else {
|
||||
// Call checks hooks
|
||||
for _, h := range hooks.mdTextHooks {
|
||||
for _, err := range h(intro, exceptions.GetFileExceptions("overview.md")) {
|
||||
for _, err := range h(intro, exceptions.GetFileExceptions("overview.md", "overview.txt")) {
|
||||
errs = append(errs, NewThemeError(th, fmt.Errorf("overview.md: %w", err)))
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue