lib/metanorma/standoc/reqt.rb in metanorma-standoc-2.7.3 vs lib/metanorma/standoc/reqt.rb in metanorma-standoc-2.7.4
- old
+ new
@@ -33,11 +33,10 @@
end
def requirement_validate(docxml)
docxml.xpath("//requirement | //recommendation | //permission")
.each_with_object([]) do |r, m|
- ret = @reqt_models.model(r["model"]).validate(r, @log)
- ret.each { |x| m << x }
+ @reqt_models.model(r["model"]).validate(r, @log)
end
end
end
end
end