Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

1.8.7 doesn't have Array#flat_map.

  • Loading branch information...
commit 070bb2db4aac2dc32c71c43a943b24b10ba9cd94 1 parent aeb7750
@yfeldblum yfeldblum authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/librarian/resolver/implementation.rb
View
2  lib/librarian/resolver/implementation.rb
@@ -10,7 +10,7 @@ def initialize(sources)
self.sources = sources
end
def manifests(name)
- sources.reverse.flat_map{|source| source.manifests(name)}
+ sources.reverse.map{|source| source.manifests(name)}.flatten(1)
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.