lib/librarian/manifest_set.rb in librarian-0.0.5 vs lib/librarian/manifest_set.rb in librarian-0.0.6

- old
+ new

@@ -76,11 +76,13 @@ def deep_strip!(names) names = Array === names ? names.dup : names.to_a until names.empty? name = names.shift manifest = index.delete(name) - manifest.dependencies.each do |dependency| - names << dependency.name + if manifest + manifest.dependencies.each do |dependency| + names << dependency.name + end end end self end