diff --git a/CHDataManagement/Generator/Blocks/VideoBlock.swift b/CHDataManagement/Generator/Blocks/VideoBlock.swift index 12a806d..4f7301b 100644 --- a/CHDataManagement/Generator/Blocks/VideoBlock.swift +++ b/CHDataManagement/Generator/Blocks/VideoBlock.swift @@ -33,6 +33,10 @@ struct VideoBlock: OrderedKeyBlockProcessor { results.missing(file: fileId, source: "Video Block: \(key)") continue } + guard file.type.isVideo else { + invalid(markdown) + continue + } results.require(file: file) let source = Source(file: file, type: sourceType) sources.append(source)