lib/nanoc/data_sources/filesystem.rb in nanoc-4.9.4 vs lib/nanoc/data_sources/filesystem.rb in nanoc-4.9.5

- old
+ new

@@ -285,9 +285,10 @@ # Check number of files per type unless [0, 1].include?(meta_filenames.size) raise Errors::MultipleMetaFiles.new(meta_filenames, basename) end + unless config[:identifier_type] == 'full' unless [0, 1].include?(content_filenames.size) raise Errors::MultipleContentFiles.new(meta_filenames, basename) end end