lib/review/catalog.rb in review-3.0.0 vs lib/review/catalog.rb in review-3.1.0
- old
+ new
@@ -48,10 +48,10 @@
e
end
end
def parts_with_chaps
- return '' unless @yaml['CHAPS']
+ return [] unless @yaml['CHAPS']
@yaml['CHAPS'].flatten.compact
end
def appendix
return '' unless @yaml['APPENDIX']